Skip to content

Commit c09bb88

Browse files
author
Benjamin Chrétien
committed
Fix Boost dependencies
1 parent 0ad4eae commit c09bb88

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/CMakeLists.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ADD_LIBRARY(${LIBRARY_NAME} SHARED
1212

1313
SET_TARGET_PROPERTIES(${LIBRARY_NAME} PROPERTIES SOVERSION ${PROJECT_VERSION})
1414

15-
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${QHULL_LIBRARIES} boost_date_time boost_filesystem)
15+
TARGET_LINK_LIBRARIES(${LIBRARY_NAME} ${QHULL_LIBRARIES})
1616
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} roboptim-core)
1717
PKG_CONFIG_USE_DEPENDENCY(${LIBRARY_NAME} roboptim-core-plugin-ipopt)
1818

@@ -21,8 +21,6 @@ INSTALL(TARGETS ${LIBRARY_NAME} DESTINATION ${CMAKE_INSTALL_LIBDIR})
2121
# Executable
2222
SET(EXECUTABLE_NAME capsule-generator)
2323
ADD_EXECUTABLE(${EXECUTABLE_NAME} capsule-generator.cc)
24-
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME}
25-
${LIBRARY_NAME}
26-
boost_program_options)
24+
TARGET_LINK_LIBRARIES(${EXECUTABLE_NAME} ${LIBRARY_NAME} boost_program_options)
2725

2826
INSTALL(TARGETS ${EXECUTABLE_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})

0 commit comments

Comments
 (0)