mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-02 04:39:08 +08:00
29 lines
960 B
Diff
29 lines
960 B
Diff
|
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||
|
index 7b0d8e5..d46b498 100644
|
||
|
--- a/CMakeLists.txt
|
||
|
+++ b/CMakeLists.txt
|
||
|
@@ -83,7 +83,7 @@ else()
|
||
|
endif()
|
||
|
|
||
|
install(EXPORT "${PROJECT_NAME}-targets"
|
||
|
- DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/${TARGET_DIR}/"
|
||
|
+ DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
||
|
NAMESPACE AWS::
|
||
|
COMPONENT Development)
|
||
|
|
||
|
diff --git a/cmake/aws-c-http-config.cmake b/cmake/aws-c-http-config.cmake
|
||
|
index 8633305..eb7f364 100644
|
||
|
--- a/cmake/aws-c-http-config.cmake
|
||
|
+++ b/cmake/aws-c-http-config.cmake
|
||
|
@@ -3,9 +3,5 @@ include(CMakeFindDependencyMacro)
|
||
|
find_dependency(aws-c-io)
|
||
|
find_dependency(aws-c-compression)
|
||
|
|
||
|
-if (BUILD_SHARED_LIBS)
|
||
|
- include(${CMAKE_CURRENT_LIST_DIR}/shared/@PROJECT_NAME@-targets.cmake)
|
||
|
-else()
|
||
|
- include(${CMAKE_CURRENT_LIST_DIR}/static/@PROJECT_NAME@-targets.cmake)
|
||
|
-endif()
|
||
|
+include(${CMAKE_CURRENT_LIST_DIR}/@CMAKE_PROJECT_NAME@-targets.cmake)
|
||
|
|