Skip to content

Commit

Permalink
Fix Cmake path for .mod files.
Browse files Browse the repository at this point in the history
  • Loading branch information
tclune committed Mar 24, 2021
1 parent 859f84d commit ade7237
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ install (
DESTINATION ${top_dir}/cmake
)

configure_file(GFTL.mk.in ${CMAKE_CURRENT_BINARY_DIR}/GFTL.mk @ONLY)
configure_file(cmake/GFTL.mk.in ${CMAKE_CURRENT_BINARY_DIR}/GFTL.mk @ONLY)
install (
FILES ${CMAKE_CURRENT_BINARY_DIR}/GFTL.mk
DESTINATION "${top_dir}/include"
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 0 additions & 1 deletion tests/deque/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ foreach (T ${types})
OTHER_SOURCES ${other_sources}
LINK_LIBRARIES gftl-v2
)
set_target_properties (${test}.x PROPERTIES Fortran_MODULE_DIRECTORY ${test}/mod)
add_dependencies (tests ${test}.x)

endforeach ()
Expand Down
1 change: 0 additions & 1 deletion tests/map/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ foreach (key ${keys})
OTHER_SOURCES ${other_sources}
LINK_LIBRARIES gftl-v2
)
set_target_properties (test_${key}${T}_map.x PROPERTIES Fortran_MODULE_DIRECTORY test_${key}${T}_map/mod)
add_dependencies (tests test_${key}${T}_map.x)

endforeach ()
Expand Down
1 change: 0 additions & 1 deletion tests/ordered_map/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ foreach (key ${keys})
OTHER_SOURCES ${other_sources}
LINK_LIBRARIES gftl-v2
)
set_target_properties (test_${key}${T}_ordered_map.x PROPERTIES Fortran_MODULE_DIRECTORY test_${key}${T}_ordered_map/mod)
add_dependencies (tests test_${key}${T}_ordered_map.x)

endforeach ()
Expand Down
1 change: 0 additions & 1 deletion tests/queue/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ foreach (T ${types})
OTHER_SOURCES ${other_sources}
LINK_LIBRARIES gftl-v2
)
set_target_properties (${test}.x PROPERTIES Fortran_MODULE_DIRECTORY ${test}/mod)
add_dependencies (tests ${test}.x)

endforeach ()
Expand Down
1 change: 0 additions & 1 deletion tests/set/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ foreach (T ${types})
OTHER_SOURCES ${other_sources}
LINK_LIBRARIES gftl-v2
)
set_target_properties (test_${T}_set.x PROPERTIES Fortran_MODULE_DIRECTORY test_${T}_set/mod)

add_dependencies (tests test_${T}_set.x)

Expand Down
1 change: 0 additions & 1 deletion tests/stack/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ foreach (T ${types})
OTHER_SOURCES ${other_sources}
LINK_LIBRARIES gftl-v2
)
set_target_properties (${test}.x PROPERTIES Fortran_MODULE_DIRECTORY ${test}/mod)
add_dependencies (tests ${test}.x)

endforeach ()
Expand Down
1 change: 0 additions & 1 deletion tests/vector/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ foreach (T ${types})
OTHER_SOURCES ${other_sources}
LINK_LIBRARIES gftl-v2
)
set_target_properties (${test}.x PROPERTIES Fortran_MODULE_DIRECTORY ${test}/mod)

add_dependencies (tests ${test}.x)

Expand Down

0 comments on commit ade7237

Please sign in to comment.