2020-01-31 06:43:34 +08:00
|
|
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2020-09-28 09:26:08 +08:00
|
|
|
index dddcc5d..55ff45f 100644
|
2020-01-31 06:43:34 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2020-09-28 09:26:08 +08:00
|
|
|
@@ -92,7 +92,7 @@ else()
|
2020-01-31 06:43:34 +08:00
|
|
|
endif()
|
|
|
|
|
2020-09-28 09:26:08 +08:00
|
|
|
install(EXPORT "${PROJECT_NAME}-targets"
|
|
|
|
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}/"
|
|
|
|
+ DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
2020-01-31 06:43:34 +08:00
|
|
|
NAMESPACE AWS::
|
|
|
|
COMPONENT Development)
|
|
|
|
|
|
|
|
diff --git a/cmake/aws-c-event-stream-config.cmake b/cmake/aws-c-event-stream-config.cmake
|
2020-09-28 09:26:08 +08:00
|
|
|
index e881cb8..cb817e4 100644
|
2020-01-31 06:43:34 +08:00
|
|
|
--- a/cmake/aws-c-event-stream-config.cmake
|
|
|
|
+++ b/cmake/aws-c-event-stream-config.cmake
|
|
|
|
@@ -2,9 +2,5 @@ include(CMakeFindDependencyMacro)
|
|
|
|
find_dependency(aws-c-common)
|
|
|
|
find_dependency(aws-checksums)
|
|
|
|
|
|
|
|
-if (BUILD_SHARED_LIBS)
|
2020-09-28 09:26:08 +08:00
|
|
|
- include(${CMAKE_CURRENT_LIST_DIR}/shared/@PROJECT_NAME@-targets.cmake)
|
2020-01-31 06:43:34 +08:00
|
|
|
-else()
|
2020-09-28 09:26:08 +08:00
|
|
|
- include(${CMAKE_CURRENT_LIST_DIR}/static/@PROJECT_NAME@-targets.cmake)
|
2020-01-31 06:43:34 +08:00
|
|
|
-endif()
|
|
|
|
+include(${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@-targets.cmake)
|
|
|
|
|