From 2112636b7464c2f6c3d09f6736e6c42aa29e6e02 Mon Sep 17 00:00:00 2001 From: Waqar Ahmed Khan Date: Wed, 23 Aug 2023 15:54:30 -0700 Subject: [PATCH] Explicit Private for target_link_libraries (#450) --- bin/elasticurl/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/elasticurl/CMakeLists.txt b/bin/elasticurl/CMakeLists.txt index 79deb9237..cda99a02d 100644 --- a/bin/elasticurl/CMakeLists.txt +++ b/bin/elasticurl/CMakeLists.txt @@ -15,7 +15,7 @@ target_include_directories(${ELASTICURL_PROJECT_NAME} PUBLIC $ $) -target_link_libraries(${ELASTICURL_PROJECT_NAME} aws-c-http) +target_link_libraries(${ELASTICURL_PROJECT_NAME} PRIVATE aws-c-http) if (BUILD_SHARED_LIBS AND NOT WIN32) message(INFO " elasticurl will be built with shared libs, but you may need to set LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib to run the application")