Skip to content
Snippets Groups Projects
Commit ebee575f authored by Kevin Hitzler's avatar Kevin Hitzler
Browse files

Disable library correctly if dependency was not found

parent b3f59aae
No related branches found
No related tags found
No related merge requests found
......@@ -5,10 +5,11 @@ armarx_set_target("Library: ${LIB_NAME}")
find_package(Eigen3 QUIET)
find_package(Simox ${ArmarX_Simox_VERSION} QUIET)
find_package(MATHLIB QUIET)
armarx_build_if(Eigen3_FOUND "Eigen3 not available")
armarx_build_if(Simox_FOUND "Simox-VirtualRobot not available")
armarx_build_if(MATHLIB_FOUND "MATHLIB not available")
if (Eigen3_FOUND AND Simox_FOUND)
include_directories(${Simox_INCLUDE_DIRS})
......
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