Skip to content

Commit 250484c

Browse files
Fix leftover namespace for s2n find. (#224)
* Fixed leftover find_package namespace.
1 parent 7926948 commit 250484c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,8 @@ if (NOT CUSTOM_TLS)
155155
file(GLOB AWS_IO_TLS_SRC
156156
"source/s2n/*.c"
157157
)
158-
aws_use_package(s2n)
159-
set(PLATFORM_LIBS ${PlATFORM_LIBS} AWS::s2n)
158+
159+
aws_use_package(s2n)
160160
endif ()
161161
endif ()
162162

cmake/aws-c-io-config.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ endif()
77
find_dependency(aws-c-common)
88

99
if (BUILD_SHARED_LIBS)
10-
include(${CMAKE_CURRENT_LIST_DIR}/shared/@CMAKE_PROJECT_NAME@-targets.cmake)
10+
include(${CMAKE_CURRENT_LIST_DIR}/shared/@PROJECT_NAME@-targets.cmake)
1111
else()
12-
include(${CMAKE_CURRENT_LIST_DIR}/static/@CMAKE_PROJECT_NAME@-targets.cmake)
12+
include(${CMAKE_CURRENT_LIST_DIR}/static/@PROJECT_NAME@-targets.cmake)
1313
endif()
1414

0 commit comments

Comments
 (0)