summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicky <nicky.dasmijn@posteo.nl>2022-09-17 16:54:35 +0200
committerNicky <nicky.dasmijn@posteo.nl>2022-09-17 16:54:35 +0200
commit9af15d2cb73e8907fb2a7dea42374142c272c3bc (patch)
treead47ea01882c8fb1193299af6e155caff6de1640
parent0e5251f7cea691cbe62db2dc587aecd293ec73ed (diff)
parent8c1427c39f90a322d4069162636e4ee433b664fb (diff)
Merge branch 'DRTVWR-568_cmake' of bitbucket.org:NickyD/viewer-cmake into DRTVWR-568_cmake
-rw-r--r--indra/cmake/bugsplat.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/cmake/bugsplat.cmake b/indra/cmake/bugsplat.cmake
index f645d9d449..509981d72c 100644
--- a/indra/cmake/bugsplat.cmake
+++ b/indra/cmake/bugsplat.cmake
@@ -19,6 +19,7 @@ if (USE_BUGSPLAT)
target_link_libraries( ll::bugsplat INTERFACE
${ARCH_PREBUILT_DIRS_RELEASE}/bugsplat.lib
)
+ target_include_directories( ll::bugsplat SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/bugsplat)
elseif (DARWIN)
find_library(BUGSPLAT_LIBRARIES BugsplatMac REQUIRED
NO_DEFAULT_PATH PATHS "${ARCH_PREBUILT_DIRS_RELEASE}")
@@ -33,7 +34,6 @@ if (USE_BUGSPLAT)
message( FATAL_ERROR "You need to set BUGSPLAT_DB when setting USE_BUGSPLAT" )
endif()
- target_include_directories( ll::bugsplat SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/bugsplat)
set_property( TARGET ll::bugsplat APPEND PROPERTY INTERFACE_COMPILE_DEFINITIONS LL_BUGSPLAT)
else()
set(BUGSPLAT_DB "" CACHE STRING "BugSplat crash database name")