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})
ADD_PROJECT_DEPENDENCY(Eigen3 REQUIRED PKG_CONFIG_REQUIRES "eigen3 >= 3.0.0")
if(BUILD_PYTHON_INTERFACE)
ADD_PROJECT_DEPENDENCY(eigenpy 2.2 REQUIRED)
endif ()
FIND_PACKAGE(eigenpy 2.2 REQUIRED)
endif()
# Required dependencies
set(BOOST_COMPONENTS thread date_time system)
......
......@@ -158,9 +158,12 @@ ADD_HEADER_GROUP(PROJECT_HEADERS_FULL_PATH)
TARGET_LINK_LIBRARIES(${LIBRARY_NAME}
PUBLIC
Boost::thread
Boost::date_time
Boost::system
${Boost_THREAD_LIBRARY}
${Boost_DATE_TIME_LIBRARY}
${Boost_SYSTEM_LIBRARY}
# Boost::thread
# Boost::date_time
# Boost::system
)
if(HPP_FCL_HAS_QHULL)
......@@ -173,6 +176,7 @@ endif()
target_include_directories(${LIBRARY_NAME}
SYSTEM PUBLIC
${EIGEN3_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}
)
target_include_directories(${LIBRARY_NAME}
......
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