Skip to content

Commit

Permalink
Merge branch 'main' into bqpd_matrix_free
Browse files Browse the repository at this point in the history
  • Loading branch information
cvanaret authored Dec 2, 2024
2 parents 36f62bc + b5db871 commit de23554
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,10 @@ endif()
add_library(uno STATIC ${UNO_SOURCE_FILES})
set_property(TARGET uno PROPERTY POSITION_INDEPENDENT_CODE ON)
target_include_directories(uno PUBLIC ${DIRECTORIES})
target_link_libraries(uno PUBLIC ${LIBRARIES} ${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES})
target_link_libraries(uno PUBLIC ${LIBRARIES}
# link Fortran compiler even when static libraries are linked
${CMAKE_Fortran_IMPLICIT_LINK_LIBRARIES}
)

######################
# optional AMPL main #
Expand Down

0 comments on commit de23554

Please sign in to comment.