We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8de92d0 commit bb55540Copy full SHA for bb55540
CMakeLists.txt
@@ -277,15 +277,15 @@ install(FILES
277
${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake
278
DESTINATION ${SPARROW_IPC_CMAKECONFIG_INSTALL_DIR})
279
280
+# Install target
281
+install(TARGETS sparrow-ipc
282
+ EXPORT ${PROJECT_NAME}-targets)
283
+
284
install(EXPORT ${PROJECT_NAME}-targets
285
FILE ${PROJECT_NAME}Targets.cmake
286
NAMESPACE sparrow-ipc::
287
288
-# Install target
-install(TARGETS sparrow-ipc
- EXPORT ${PROJECT_NAME}-targets)
-
289
# Makes the project importable from the build directory
290
export(EXPORT ${PROJECT_NAME}-targets
291
FILE "${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Targets.cmake"
0 commit comments