Verified Commit 923dacf4 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: adjust packaging

Boost is not exported. Use full path instead.
parent 77b31335
...@@ -72,8 +72,8 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) ...@@ -72,8 +72,8 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.0") ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.0")
if(BUILD_PYTHON_INTERFACE) if(BUILD_PYTHON_INTERFACE)
ADD_PROJECT_DEPENDENCY(eigenpy 2.2 REQUIRED) FIND_PACKAGE(eigenpy 2.2 REQUIRED)
endif () endif()
# Required dependencies # Required dependencies
set(BOOST_COMPONENTS thread date_time system) set(BOOST_COMPONENTS thread date_time system)
......
...@@ -158,9 +158,12 @@ ADD_HEADER_GROUP(PROJECT_HEADERS_FULL_PATH) ...@@ -158,9 +158,12 @@ ADD_HEADER_GROUP(PROJECT_HEADERS_FULL_PATH)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} TARGET_LINK_LIBRARIES(${LIBRARY_NAME}
PUBLIC PUBLIC
Boost::thread ${Boost_THREAD_LIBRARY}
Boost::date_time ${Boost_DATE_TIME_LIBRARY}
Boost::system ${Boost_SYSTEM_LIBRARY}
# Boost::thread
# Boost::date_time
# Boost::system
) )
if(HPP_FCL_HAS_QHULL) if(HPP_FCL_HAS_QHULL)
...@@ -173,6 +176,7 @@ endif() ...@@ -173,6 +176,7 @@ endif()
target_include_directories(${LIBRARY_NAME} target_include_directories(${LIBRARY_NAME}
SYSTEM PUBLIC SYSTEM PUBLIC
${EIGEN3_INCLUDE_DIR} ${EIGEN3_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
) )
target_include_directories(${LIBRARY_NAME} target_include_directories(${LIBRARY_NAME}
......
Supports Markdown
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