Skip to content

Commit

Permalink
set AWSSDK_INSTALL_AS_SHARED_LIBS in parent scope where it is actuall…
Browse files Browse the repository at this point in the history
…y referenced later
  • Loading branch information
SergeyRyabinin committed Jul 20, 2023
1 parent fe46e27 commit 13254eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/setup_cmake_find_module.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ write_basic_package_version_file(

file(APPEND
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/${PROJECT_NAME}ConfigVersion.cmake"
"set(AWSSDK_INSTALL_AS_SHARED_LIBS ${BUILD_SHARED_LIBS})\n"
"set(AWSSDK_CRT_INSTALL_AS_SHARED_LIBS ${CRT_BUILD_SHARED_LIBS})\n")
"set(AWSSDK_INSTALL_AS_SHARED_LIBS ${BUILD_SHARED_LIBS} PARENT_SCOPE)\n"
"set(AWSSDK_CRT_INSTALL_AS_SHARED_LIBS ${CRT_BUILD_SHARED_LIBS} PARENT_SCOPE)\n")

file(WRITE
"${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}/platformDeps.cmake"
Expand Down

0 comments on commit 13254eb

Please sign in to comment.