summaryrefslogtreecommitdiff
path: root/indra/cmake/CURL.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/CURL.cmake')
-rw-r--r--indra/cmake/CURL.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/CURL.cmake b/indra/cmake/CURL.cmake
index 2a5ea67ff3..ee00113f75 100644
--- a/indra/cmake/CURL.cmake
+++ b/indra/cmake/CURL.cmake
@@ -6,8 +6,8 @@ create_target(ll::libcurl)
use_prebuilt_binary(curl)
if (WINDOWS)
- set_target_libraries(ll::libcurl libcurl.lib)
+ target_link_libraries(ll::libcurl INTERFACE libcurl.lib)
else (WINDOWS)
- set_target_libraries(ll::libcurl libcurl.a)
+ target_link_libraries(ll::libcurl INTERFACE libcurl.a)
endif (WINDOWS)
set_target_include_dirs( ll::libcurl ${LIBS_PREBUILT_DIR}/include)