29 lines
990 B
Diff
Executable File
29 lines
990 B
Diff
Executable File
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
index 4d935e2..7b0501c 100644
|
|
--- a/CMakeLists.txt
|
|
+++ b/CMakeLists.txt
|
|
@@ -338,7 +338,7 @@ else()
|
|
endif()
|
|
|
|
install(EXPORT "${PROJECT_NAME}-targets"
|
|
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/${PROJECT_NAME}/cmake/${TARGET_DIR}"
|
|
+ DESTINATION "${LIBRARY_DIRECTORY}/${PROJECT_NAME}/cmake/"
|
|
NAMESPACE AWS::
|
|
COMPONENT Development)
|
|
|
|
diff --git a/cmake/aws-crt-cpp-config.cmake b/cmake/aws-crt-cpp-config.cmake
|
|
index 4b20a07..faac626 100644
|
|
--- a/cmake/aws-crt-cpp-config.cmake
|
|
+++ b/cmake/aws-crt-cpp-config.cmake
|
|
@@ -7,8 +7,4 @@ find_dependency(aws-c-auth)
|
|
find_dependency(aws-c-event-stream)
|
|
find_dependency(aws-c-s3)
|
|
|
|
-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)
|
|
\ No newline at end of file
|