Skip to content
Snippets Groups Projects
Verified Commit 1bf3d0de authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: use classic search for Eigen3

parent a5af409b
No related branches found
No related tags found
No related merge requests found
...@@ -63,7 +63,7 @@ ENDIF(WIN32) ...@@ -63,7 +63,7 @@ ENDIF(WIN32)
# ---------------------------------------------------- # ----------------------------------------------------
# --- DEPENDENCIES ----------------------------------- # --- DEPENDENCIES -----------------------------------
# ---------------------------------------------------- # ----------------------------------------------------
ADD_REQUIRED_DEPENDENCY("eigen3 >= 3.0.5") ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.5")
SET(BOOST_COMPONENTS python) SET(BOOST_COMPONENTS python)
SEARCH_FOR_BOOST() SEARCH_FOR_BOOST()
...@@ -183,7 +183,6 @@ ELSE() ...@@ -183,7 +183,6 @@ ELSE()
ENDIF() ENDIF()
TARGET_LINK_BOOST_PYTHON(${PROJECT_NAME} PUBLIC) TARGET_LINK_BOOST_PYTHON(${PROJECT_NAME} PUBLIC)
PKG_CONFIG_USE_DEPENDENCY(${PROJECT_NAME} eigen3)
INSTALL(TARGETS ${PROJECT_NAME} INSTALL(TARGETS ${PROJECT_NAME}
EXPORT ${TARGETS_EXPORT_NAME} EXPORT ${TARGETS_EXPORT_NAME}
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR} PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_FULL_INCLUDEDIR}
......
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