Verified Commit fe30e823 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

cmake: fix

parent d1a7f8da
......@@ -128,12 +128,6 @@ IF(BUILD_PYTHON_INTERFACE)
TARGET_LINK_LIBRARIES(${PYWRAP} PUBLIC ${PROJECT_NAME} eigenpy::eigenpy)
TARGET_LINK_BOOST_PYTHON(${PYWRAP} PUBLIC)
IF(URDFDOM_FOUND)
PKG_CONFIG_USE_DEPENDENCY(${PYWRAP} urdfdom)
ENDIF(URDFDOM_FOUND)
IF(HPP_FCL_FOUND)
TARGET_LINK_LIBRARIES(${PYWRAP} PUBLIC ${PROJECT_NAME} hpp-fcl::hpp-fcl)
ENDIF(HPP_FCL_FOUND)
IF(BUILD_WITH_HPP_FCL_PYTHON_BINDINGS)
TARGET_COMPILE_DEFINITIONS(${PYWRAP} PRIVATE -DPINOCCHIO_WITH_HPP_FCL_PYTHON_BINDINGS)
ENDIF(BUILD_WITH_HPP_FCL_PYTHON_BINDINGS)
......
......@@ -49,12 +49,12 @@ IF(UNIX OR "${CMAKE_GENERATOR_TOOLSET}" MATCHES "ClangCl")
ENDIF(${urdfdom_VERSION} VERSION_GREATER "0.4.2")
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PUBLIC ${urdfdom_LIBRARIES})
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} PUBLIC ${urdfdom_INCLUDE_DIRS})
TARGET_INCLUDE_DIRECTORIES(${PROJECT_NAME} SYSTEM PUBLIC ${urdfdom_INCLUDE_DIRS})
ENDIF(urdfdom_FOUND)
IF(hpp_fcl_FOUND)
IF(hpp-fcl_FOUND)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} PUBLIC hpp-fcl::hpp-fcl)
ENDIF(hpp_fcl_FOUND)
ENDIF(hpp-fcl_FOUND)
ADD_HEADER_GROUP(HEADERS)
ADD_SOURCE_GROUP(${PROJECT_NAME}_SOURCES)
......
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