Skip to content
Snippets Groups Projects
Commit a24dd93e authored by Brad King's avatar Brad King
Browse files

curl: When building inside CMake, link dependencies as PRIVATE

parent 0b872fd4
No related branches found
No related tags found
No related merge requests found
......@@ -100,7 +100,7 @@ if(NOT BUILD_SHARED_LIBS)
set_target_properties(${LIB_NAME} PROPERTIES INTERFACE_COMPILE_DEFINITIONS CURL_STATICLIB)
endif()
target_link_libraries(${LIB_NAME} ${CURL_LIBS})
target_link_libraries(${LIB_NAME} PRIVATE ${CURL_LIBS})
if(0) # This code not needed for building within CMake.
if(WIN32)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment