From d2b45e5c6132aa173877de7578500df0d27529ef Mon Sep 17 00:00:00 2001 From: Michael Graeb Date: Fri, 11 Aug 2023 07:26:14 -0700 Subject: [PATCH] Minor CMakelists.txt cleanup (#213) Remove unused PLATFORM_LIBS variable. aws-c-auth picks up these dependencies transitively via aws-c-common. --- CMakeLists.txt | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 06c444fb..9f43c289 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,13 +54,6 @@ if (WIN32) source_group("Header Files\\aws\\auth" FILES ${AWS_AUTH_HEADERS}) source_group("Source Files" FILES ${AWS_AUTH_SRC}) endif () - set(PLATFORM_LIBS "") -elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux") - set(PLATFORM_LIBS "") -elseif (APPLE) - set(PLATFORM_LIBS "") -elseif (CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD") - set(PLATFORM_LIBS "") endif() file(GLOB AUTH_HEADERS @@ -96,7 +89,7 @@ aws_use_package(aws-c-sdkutils) aws_use_package(aws-c-cal) aws_use_package(aws-c-http) -target_link_libraries(${PROJECT_NAME} PUBLIC ${DEP_AWS_LIBS} ${PLATFORM_LIBS}) +target_link_libraries(${PROJECT_NAME} PUBLIC ${DEP_AWS_LIBS}) aws_prepare_shared_lib_exports(${PROJECT_NAME})