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 888742b..efdd817 100644
|
2020-01-31 06:43:34 +08:00
|
|
|
--- a/CMakeLists.txt
|
|
|
|
+++ b/CMakeLists.txt
|
2020-09-28 09:26:08 +08:00
|
|
|
@@ -140,7 +140,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/"
|
|
|
|
NAMESPACE AWS::
|
|
|
|
COMPONENT Development)
|
2020-01-31 06:43:34 +08:00
|
|
|
|
|
|
|
diff --git a/cmake/aws-checksums-config.cmake b/cmake/aws-checksums-config.cmake
|
2020-09-28 09:26:08 +08:00
|
|
|
index 6de2e44..84d55d1 100644
|
2020-01-31 06:43:34 +08:00
|
|
|
--- a/cmake/aws-checksums-config.cmake
|
|
|
|
+++ b/cmake/aws-checksums-config.cmake
|
2020-09-28 09:26:08 +08:00
|
|
|
@@ -1,6 +1,2 @@
|
2020-01-31 06:43:34 +08:00
|
|
|
-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)
|
2020-09-28 09:26:08 +08:00
|
|
|
|