Skip to content

Commit f59da78

Browse files
Fixed compatibility with old CMake Versions (#17)
1 parent 094be9c commit f59da78

File tree

2 files changed

+14
-13
lines changed

2 files changed

+14
-13
lines changed

tcp_pubsub/CMakeLists.txt

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -119,21 +119,22 @@ create_source_tree(${includes} ${sources})
119119

120120
set(TCP_PUBSUB_INSTALL_CMAKE_DIR "lib/cmake/tcp_pubsub")
121121

122-
# Install Runtime
123-
install(
124-
TARGETS ${PROJECT_NAME}
125-
EXPORT tcp_pubsubRuntime
126-
RUNTIME DESTINATION "bin"
127-
COMPONENT tcp_pubsub_runtime
128-
)
129-
130-
# Install libs (-> dev package)
122+
# Install Runtime & Libs
131123
install(
132124
TARGETS ${PROJECT_NAME}
133125
EXPORT tcp_pubsubTargets
134-
LIBRARY DESTINATION "lib"
135-
ARCHIVE DESTINATION "lib"
136-
COMPONENT tcp_pubsub_dev
126+
127+
RUNTIME
128+
DESTINATION "bin"
129+
COMPONENT tcp_pubsub_runtime
130+
131+
LIBRARY
132+
DESTINATION "lib"
133+
COMPONENT tcp_pubsub_runtime
134+
135+
ARCHIVE
136+
DESTINATION "lib"
137+
COMPONENT tcp_pubsub_dev
137138
)
138139

139140
# Install public header files (-> dev package)

tcp_pubsub/version.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
set(TCP_PUBSUB_VERSION_MAJOR 1)
22
set(TCP_PUBSUB_VERSION_MINOR 0)
3-
set(TCP_PUBSUB_VERSION_PATCH 2)
3+
set(TCP_PUBSUB_VERSION_PATCH 3)

0 commit comments

Comments
 (0)