Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1c1bc10

Browse files
committedApr 9, 2013
Prepare release v2.0.
1 parent a176f8b commit 1c1bc10

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed
 

‎src/CMakeLists.txt

+5-5
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})
1818

1919
# Define the directory where plug-ins will be installed.
20-
SET(PLUGINDIR lib/${PROJECT_NAME})
20+
SET(PLUGINDIR ${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME})
2121

2222
# Main library.
2323
ADD_LIBRARY(roboptim-core SHARED
@@ -46,8 +46,8 @@ PKG_CONFIG_USE_DEPENDENCY(roboptim-core eigen3)
4646
PKG_CONFIG_USE_DEPENDENCY(roboptim-core liblog4cxx)
4747

4848
TARGET_LINK_LIBRARIES(roboptim-core ltdl)
49-
SET_TARGET_PROPERTIES(roboptim-core PROPERTIES SOVERSION 1.1.0)
50-
INSTALL(TARGETS roboptim-core DESTINATION lib)
49+
SET_TARGET_PROPERTIES(roboptim-core PROPERTIES SOVERSION 2.0.0)
50+
INSTALL(TARGETS roboptim-core DESTINATION ${CMAKE_INSTALL_LIBDIR})
5151

5252

5353
# Dummy plug-in.
@@ -56,7 +56,7 @@ ADD_DEPENDENCIES(roboptim-core-plugin-dummy roboptim-core)
5656
TARGET_LINK_LIBRARIES(roboptim-core-plugin-dummy roboptim-core)
5757
SET_TARGET_PROPERTIES(roboptim-core-plugin-dummy PROPERTIES
5858
PREFIX ""
59-
SOVERSION 1.1.0)
59+
SOVERSION 2.0.0)
6060
INSTALL(TARGETS roboptim-core-plugin-dummy DESTINATION ${PLUGINDIR})
6161

6262
# Dummy-laststate plug-in.
@@ -65,5 +65,5 @@ ADD_DEPENDENCIES(roboptim-core-plugin-dummy-laststate roboptim-core)
6565
TARGET_LINK_LIBRARIES(roboptim-core-plugin-dummy-laststate roboptim-core)
6666
SET_TARGET_PROPERTIES(roboptim-core-plugin-dummy-laststate PROPERTIES
6767
PREFIX ""
68-
SOVERSION 1.1.0)
68+
SOVERSION 2.0.0)
6969
INSTALL(TARGETS roboptim-core-plugin-dummy-laststate DESTINATION ${PLUGINDIR})

0 commit comments

Comments
 (0)
Please sign in to comment.