Commit cdae5c7d authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CMake] drop pkg-config

parent 1ce40737
...@@ -29,7 +29,7 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS}) ...@@ -29,7 +29,7 @@ PROJECT(${PROJECT_NAME} ${PROJECT_ARGS})
# Project dependencies # Project dependencies
ADD_PROJECT_DEPENDENCY(LAPACK REQUIRED) ADD_PROJECT_DEPENDENCY(LAPACK REQUIRED)
ADD_PROJECT_DEPENDENCY(pinocchio REQUIRED PKG_CONFIG_REQUIRES pinocchio) ADD_PROJECT_DEPENDENCY(pinocchio REQUIRED)
# Handle OS specificities # Handle OS specificities
INCLUDE(CheckIncludeFile) INCLUDE(CheckIncludeFile)
...@@ -154,10 +154,6 @@ IF (UNIX AND NOT APPLE) ...@@ -154,10 +154,6 @@ IF (UNIX AND NOT APPLE)
COMPILE_FLAGS "-msse -msse2 -msse3 -march=core2 -mfpmath=sse -fivopts -ftree-loop-im -fipa-pta ") COMPILE_FLAGS "-msse -msse2 -msse3 -march=core2 -mfpmath=sse -fivopts -ftree-loop-im -fipa-pta ")
ENDIF(UNIX AND NOT APPLE) ENDIF(UNIX AND NOT APPLE)
IF(USE_LSSOL)
PKG_CONFIG_USE_DEPENDENCY(${PROJECT_NAME} lssol)
ENDIF(USE_LSSOL)
IF(USE_QUADPROG) IF(USE_QUADPROG)
TARGET_LINK_LIBRARIES(${PROJECT_NAME} eigen-quadprog::eigen-quadprog) TARGET_LINK_LIBRARIES(${PROJECT_NAME} eigen-quadprog::eigen-quadprog)
ENDIF(USE_QUADPROG) ENDIF(USE_QUADPROG)
...@@ -166,7 +162,6 @@ INSTALL(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib) ...@@ -166,7 +162,6 @@ INSTALL(TARGETS ${PROJECT_NAME} EXPORT ${TARGETS_EXPORT_NAME} DESTINATION lib)
ADD_SUBDIRECTORY(tests) ADD_SUBDIRECTORY(tests)
PKG_CONFIG_APPEND_LIBS(${PROJECT_NAME})
INSTALL(FILES package.xml DESTINATION share/${PROJECT_NAME}) INSTALL(FILES package.xml DESTINATION share/${PROJECT_NAME})
INSTALL(DIRECTORY urdf DESTINATION share/${PROJECT_NAME}) INSTALL(DIRECTORY urdf DESTINATION share/${PROJECT_NAME})
INSTALL(DIRECTORY srdf DESTINATION share/${PROJECT_NAME}) INSTALL(DIRECTORY srdf DESTINATION share/${PROJECT_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