Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa authored Jul 1, 2024
1 parent 966bf42 commit 3e8f80a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions check/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ include(CTest)
if (FORTRAN)
set(CMAKE_Fortran_MODULE_DIRECTORY ${HIGHS_BINARY_DIR}/modules)
add_executable(fortrantest TestFortranAPI.f90)
set(CMAKE_Fortran_LINK_EXECUTABLE "<LINK_FLAGS> <OBJECTS> -o <TARGET> <LINK_LIBRARIES>")
set_property(TARGET fortrantest PROPERTY LINKER_LANGUAGE Fortran)
if (NOT FAST_BUILD)
target_link_libraries(fortrantest libhighs FortranHighs)
Expand Down

0 comments on commit 3e8f80a

Please sign in to comment.