Commit 5d9540e3 authored by Max Lyon's avatar Max Lyon
Browse files

set target link directory to LPSOLVE_LIBRARY_DIR

parent 34f744bd
Pipeline #16667 passed with stages
in 10 minutes and 4 seconds
......@@ -476,6 +476,7 @@ find_package (LPSolve)
if (TARGET lpsolve::lpsolve )
set (COMISO_LPSOLVE_CONFIG_FILE_SETTINGS "#define COMISO_LPSOLVE_AVAILABLE 1" )
target_link_libraries (CoMISo PUBLIC lpsolve::lpsolve)
target_link_directories (CoMISo PUBLIC ${LPSOLVE_LIBRARY_DIR})
else ()
message (STATUS "lpsolve not found!")
set (COMISO_LPSOLVE_CONFIG_FILE_SETTINGS "#define COMISO_LPSOLVE_AVAILABLE 0" )
......
Subproject commit 3142dc833a8b5a27c5949e787faa55b2450e63ac
Subproject commit d90873288efd3ce0aad9e30df6c5dc2ad7b06ce6
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment