diff --git a/CMakeLists.txt b/CMakeLists.txt index c69b790..d34b483 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -35,7 +35,7 @@ SETUP_PROJECT() # Search for dependencies. SET(BOOST_COMPONENTS filesystem system thread date_time) SEARCH_FOR_BOOST() -ADD_REQUIRED_DEPENDENCY("roboptim-core >= 3.0") +ADD_REQUIRED_DEPENDENCY("roboptim-core >= 3.1") # Python 2 and 3 are supported FINDPYTHON() diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1ca3612..49f2558 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -7,7 +7,8 @@ SET(LOCAL_MODULE_DIR "${PROJECT_BINARY_DIR}/src") ADD_LIBRARY(wrap MODULE wrap.cc) PKG_CONFIG_USE_DEPENDENCY(wrap roboptim-core) SET_TARGET_PROPERTIES(wrap PROPERTIES - LIBRARY_OUTPUT_DIRECTORY ${LOCAL_MODULE_DIR}/roboptim/core) + LIBRARY_OUTPUT_DIRECTORY ${LOCAL_MODULE_DIR}/roboptim/core + SOVERSION 3 VERSION 3.1.0) # Link against Boost. TARGET_LINK_LIBRARIES(wrap ${Boost_LIBRARIES})