Skip to content

Commit 17edb3b

Browse files
committed
add fortran language explicitly to fortrantest
1 parent 471d784 commit 17edb3b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

check/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ include(CTest)
33
if (FORTRAN AND NOT BUILD_EXTRA_UNIT_ONLY)
44
set(CMAKE_Fortran_MODULE_DIRECTORY ${HIGHS_BINARY_DIR}/modules)
55
add_executable(fortrantest TestFortranAPI.f90)
6+
set_target_properties(fortrantest PROPERTIES LINKER_LANGUAGE Fortran)
67
if (NOT FAST_BUILD)
78
target_link_libraries(fortrantest libhighs FortranHighs)
89
else()

0 commit comments

Comments
 (0)