Skip to content

Commit 29646b6

Browse files
committed
Move install command to bottom of file.
1 parent a2b9f5e commit 29646b6

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

CMakeLists.txt

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ catkin_package(
3232
# DEPENDS system_lib
3333
)
3434

35-
catkin_install_python(PROGRAMS scripts/use_cpplib.py
36-
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
37-
3835
###########
3936
## Build ##
4037
###########
@@ -61,11 +58,18 @@ set_target_properties(mycpplib PROPERTIES
6158
target_link_libraries(mycpplib
6259
${catkin_LIBRARIES}
6360
${Boost_LIBRARIES}
64-
6561
)
6662

63+
64+
#############
65+
## Install ##
66+
#############
67+
6768
install(TARGETS mycpplib
6869
ARCHIVE DESTINATION ${CATKIN_PACKAGE_PYTHON_DESTINATION}
6970
LIBRARY DESTINATION ${CATKIN_PACKAGE_PYTHON_DESTINATION}
7071
)
7172

73+
catkin_install_python(PROGRAMS scripts/use_cpplib.py
74+
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION})
75+

0 commit comments

Comments
 (0)