We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e854563 commit 26138a2Copy full SHA for 26138a2
src/tests/hash_functions/CMakeLists.txt
@@ -11,9 +11,12 @@ generate_hash_arrays.cpp
11
12
add_library(libc_hash ${SRC})
13
14
+set(CMAKE_FORTRAN_LINK_EXECUTABLE "<CMAKE_Fortran_COMPILER> <CMAKE_Fortran_LINK_FLAGS> <LINK_FLAGS> <FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
15
16
add_executable(test_hash_functions test_hash_functions.f90)
17
target_link_libraries(test_hash_functions "${PROJECT_NAME}" "test-drive::test-drive" "libc_hash")
18
add_test(NAME hash_functions
19
COMMAND $<TARGET_FILE:test_hash_functions> ${CMAKE_CURRENT_BINARY_DIR}
20
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
21
+
22
+set_target_properties(test_hash_functions PROPERTIES LINKER_LANGUAGE FORTRAN)
0 commit comments