vcpkg/ports/aws-c-event-stream/fix-cmake-target-path.patch
Jack·Boos·Yu cf3e688dda
[aws-*]Update version (#8832)
* [aws-c-common]Upgrade to 0.4.15

* [aws-c-common]Fix cmake target path.

* [aws-c-event-stream]Upgrade to 0.1.4

* [aws-checksums]Upgrade to 0.1.5
[aws-c-event-stream]Fix cmake target path.
[aws-lambda-cpp]Upgrade to 0.2.4
[aws-sdk-cpp]Upgrade to 1.7.214

* [aws=sdk-cpp]Set feature AWSMigrationHub to lowercase.

* [aws-lambda-cpp] Drop support with OSX
2020-01-30 14:43:34 -08:00

29 lines
1008 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index a765be0..4ade373 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -101,7 +101,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::
COMPONENT Development)
diff --git a/cmake/aws-c-event-stream-config.cmake b/cmake/aws-c-event-stream-config.cmake
index 7bd3cfc..cb817e4 100644
--- 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)
- 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)