mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 07:59:02 +08:00
26 lines
919 B
Diff
26 lines
919 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 2ae2229..c4d0c2d 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -138,7 +138,7 @@ else()
|
||
|
endif()
|
||
|
|
||
|
install(EXPORT "${CMAKE_PROJECT_NAME}-targets"
|
||
|
- DESTINATION "${LIBRARY_DIRECTORY}/${CMAKE_PROJECT_NAME}/cmake/${TARGET_DIR}/"
|
||
|
+ DESTINATION "${LIBRARY_DIRECTORY}/${CMAKE_PROJECT_NAME}/cmake/"
|
||
|
NAMESPACE AWS::)
|
||
|
|
||
|
configure_file("cmake/${CMAKE_PROJECT_NAME}-config.cmake"
|
||
|
diff --git a/cmake/aws-checksums-config.cmake b/cmake/aws-checksums-config.cmake
|
||
|
index f0785bf..1b9b2d2 100644
|
||
|
--- a/cmake/aws-checksums-config.cmake
|
||
|
+++ b/cmake/aws-checksums-config.cmake
|
||
|
@@ -1,6 +1 @@
|
||
|
-if (BUILD_SHARED_LIBS)
|
||
|
- include(${CMAKE_CURRENT_LIST_DIR}/shared/@CMAKE_PROJECT_NAME@-targets.cmake)
|
||
|
-else()
|
||
|
- include(${CMAKE_CURRENT_LIST_DIR}/static/@CMAKE_PROJECT_NAME@-targets.cmake)
|
||
|
-endif()
|
||
|
-
|
||
|
+include(${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@-targets.cmake)
|