Skip to content
Snippets Groups Projects
Commit 89f26a17 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

CMake: find_external glpk

parent 424beef0
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,7 @@ add_project_dependency(hpp-centroidal-dynamics REQUIRED)
add_project_dependency(ndcurves 1.0.0 REQUIRED)
if(USE_GLPK)
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH}
"${PROJECT_SOURCE_DIR}/cmake/find-external/glpk")
add_project_dependency(glpk REQUIRED)
add_project_dependency(glpk REQUIRED FIND_EXTERNAL glpk)
add_definitions(-DUSE_GLPK_SOLVER=1)
endif(USE_GLPK)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment