diff --git a/CMakeLists.txt b/CMakeLists.txt index 0e4b8f78d..e4f434174 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -203,7 +203,7 @@ install(FILES ) install( - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" NAMESPACE "${PROJECT_NAME}::" DESTINATION "${CMAKE_INSTALL_DATADIR}/cmake/${CMAKE_PROJECT_NAME}" ) diff --git a/cmake/rfc3339_timestamp.cmake b/cmake/rfc3339_timestamp.cmake index 1a69a902f..82c3337ee 100644 --- a/cmake/rfc3339_timestamp.cmake +++ b/cmake/rfc3339_timestamp.cmake @@ -27,5 +27,5 @@ target_include_directories(timestamp PUBLIC ) install( TARGETS timestamp - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" ) diff --git a/libs/client-sdk/src/CMakeLists.txt b/libs/client-sdk/src/CMakeLists.txt index 06c205681..4b6f68409 100644 --- a/libs/client-sdk/src/CMakeLists.txt +++ b/libs/client-sdk/src/CMakeLists.txt @@ -69,5 +69,5 @@ install(DIRECTORY "${LaunchDarklyCPPClient_SOURCE_DIR}/include/launchdarkly" install( TARGETS ${LIBNAME} OPTIONAL - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" ) diff --git a/libs/common/src/CMakeLists.txt b/libs/common/src/CMakeLists.txt index d5619badb..8c1987dae 100644 --- a/libs/common/src/CMakeLists.txt +++ b/libs/common/src/CMakeLists.txt @@ -90,5 +90,5 @@ target_compile_features(${LIBNAME} PUBLIC cxx_std_17) install( TARGETS ${LIBNAME} - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" ) diff --git a/libs/internal/src/CMakeLists.txt b/libs/internal/src/CMakeLists.txt index 9ef8ccd65..675bcdba2 100644 --- a/libs/internal/src/CMakeLists.txt +++ b/libs/internal/src/CMakeLists.txt @@ -74,5 +74,5 @@ target_compile_features(${LIBNAME} PUBLIC cxx_std_17) install( TARGETS ${LIBNAME} - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" ) diff --git a/libs/server-sdk-redis-source/src/CMakeLists.txt b/libs/server-sdk-redis-source/src/CMakeLists.txt index fe9bd5d4c..c77924384 100644 --- a/libs/server-sdk-redis-source/src/CMakeLists.txt +++ b/libs/server-sdk-redis-source/src/CMakeLists.txt @@ -51,5 +51,5 @@ target_compile_features(${LIBNAME} PUBLIC cxx_std_17) install( TARGETS ${LIBNAME} OPTIONAL - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" ) diff --git a/libs/server-sdk/src/CMakeLists.txt b/libs/server-sdk/src/CMakeLists.txt index 1051b252d..cf6af71e6 100644 --- a/libs/server-sdk/src/CMakeLists.txt +++ b/libs/server-sdk/src/CMakeLists.txt @@ -102,5 +102,6 @@ target_compile_features(${LIBNAME} PUBLIC cxx_std_17) install( TARGETS ${LIBNAME} OPTIONAL - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" + ) diff --git a/libs/server-sent-events/src/CMakeLists.txt b/libs/server-sent-events/src/CMakeLists.txt index 1063dc6e6..6835fd676 100644 --- a/libs/server-sent-events/src/CMakeLists.txt +++ b/libs/server-sent-events/src/CMakeLists.txt @@ -33,5 +33,5 @@ target_compile_features(${LIBNAME} PUBLIC cxx_std_17) install( TARGETS ${LIBNAME} - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" ) diff --git a/vendor/foxy/CMakeLists.txt b/vendor/foxy/CMakeLists.txt index c59a693ba..7e7252fd0 100644 --- a/vendor/foxy/CMakeLists.txt +++ b/vendor/foxy/CMakeLists.txt @@ -259,5 +259,5 @@ endif () install( TARGETS foxy - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" ) diff --git a/vendor/foxy/cmake/certify.cmake b/vendor/foxy/cmake/certify.cmake index 66995a850..d1610f0fc 100644 --- a/vendor/foxy/cmake/certify.cmake +++ b/vendor/foxy/cmake/certify.cmake @@ -23,5 +23,5 @@ set(BUILD_TESTING ${PREVIOUS_BUILD_TESTING}) install( TARGETS core - EXPORT ${PROJECT_NAME}Targets + EXPORT "${PROJECT_NAME}Targets" )