summaryrefslogtreecommitdiff
path: root/indra/cmake/JsonCpp.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'indra/cmake/JsonCpp.cmake')
-rw-r--r--indra/cmake/JsonCpp.cmake6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/cmake/JsonCpp.cmake b/indra/cmake/JsonCpp.cmake
index a155c6ea78..7d8c5cac62 100644
--- a/indra/cmake/JsonCpp.cmake
+++ b/indra/cmake/JsonCpp.cmake
@@ -6,10 +6,10 @@ create_target( ll::jsoncpp)
use_prebuilt_binary(jsoncpp)
if (WINDOWS)
- set_target_libraries( ll::jsoncpp json_libmd.lib )
+ target_link_libraries( ll::jsoncpp INTERFACE json_libmd.lib )
elseif (DARWIN)
- set_target_libraries( ll::jsoncpp libjson_darwin_libmt.a )
+ target_link_libraries( ll::jsoncpp INTERFACE libjson_darwin_libmt.a )
elseif (LINUX)
- set_target_libraries( ll::jsoncpp libjson_linux-gcc-4.1.3_libmt.a )
+ target_link_libraries( ll::jsoncpp INTERFACE libjson_linux-gcc-4.1.3_libmt.a )
endif (WINDOWS)
set_target_include_dirs( ll::jsoncpp ${LIBS_PREBUILT_DIR}/include/json)