summaryrefslogtreecommitdiff
path: root/indra/cmake/bugsplat.cmake
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
committerNicky <nicky.dasmijn@gmail.com>2022-04-17 17:32:14 +0200
commit6d0bba9c03da0d8aca5e88fcb9289cb2f89f3467 (patch)
tree2da3081a07fe04507e907dc5a7b02512489061c6 /indra/cmake/bugsplat.cmake
parent34b5c5e89066171a3b98c58edc1185559ebcc75e (diff)
Switch over to standard target_link_libraries (cmake requirements are high enough now).
Diffstat (limited to 'indra/cmake/bugsplat.cmake')
-rw-r--r--indra/cmake/bugsplat.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/cmake/bugsplat.cmake b/indra/cmake/bugsplat.cmake
index 9057ae2272..6f22815855 100644
--- a/indra/cmake/bugsplat.cmake
+++ b/indra/cmake/bugsplat.cmake
@@ -16,13 +16,13 @@ if (USE_BUGSPLAT)
include(Prebuilt)
use_prebuilt_binary(bugsplat)
if (WINDOWS)
- set_target_libraries( ll::bugsplat
+ target_link_libraries( ll::bugsplat INTERFACE
${ARCH_PREBUILT_DIRS_RELEASE}/bugsplat.lib
)
elseif (DARWIN)
find_library(BUGSPLAT_LIBRARIES BugsplatMac REQUIRED
NO_DEFAULT_PATH PATHS "${ARCH_PREBUILT_DIRS_RELEASE}")
- set_target_libraries( ll::bugsplat
+ target_link_libraries( ll::bugsplat INTERFACE
${BUGSPLAT_LIBRARIES}
)
else (WINDOWS)