summaryrefslogtreecommitdiff
path: root/indra/cmake/ViewerMiscLibs.cmake
diff options
context:
space:
mode:
authorNicky Dasmijn <nicky.dasmijn@posteo.nl>2022-09-16 23:15:49 +0200
committerNicky Dasmijn <nicky.dasmijn@posteo.nl>2022-09-16 23:15:49 +0200
commit0710d95f4b6b1a1c9ce242e7ce0aa7e828e6fdc1 (patch)
tree14f280cb1d3a8d1c2b6404642f4c0fd3185466dd /indra/cmake/ViewerMiscLibs.cmake
parentf08f20db5f9936956c2210b73011f7e2ff45af03 (diff)
parent6fdd35d500113b6a9d3f4b15342a1baf1e15fa7c (diff)
Merge remote-tracking branch 'origin/DRTVWR-543-maint_cmake' into DRTVWR-568_cmake
Diffstat (limited to 'indra/cmake/ViewerMiscLibs.cmake')
-rw-r--r--indra/cmake/ViewerMiscLibs.cmake20
1 files changed, 14 insertions, 6 deletions
diff --git a/indra/cmake/ViewerMiscLibs.cmake b/indra/cmake/ViewerMiscLibs.cmake
index fc5bdedb5a..00f8b77106 100644
--- a/indra/cmake/ViewerMiscLibs.cmake
+++ b/indra/cmake/ViewerMiscLibs.cmake
@@ -1,12 +1,20 @@
# -*- cmake -*-
include(Prebuilt)
-if (NOT USESYSTEMLIBS)
- if (LINUX)
- use_prebuilt_binary(libuuid)
+if (LINUX)
+ #use_prebuilt_binary(libuuid)
+ add_library( ll::fontconfig INTERFACE IMPORTED )
+
+ if( NOT USE_CONAN )
use_prebuilt_binary(fontconfig)
- endif (LINUX)
+ else()
+ target_link_libraries( ll::fontconfig INTERFACE CONAN_PKG::fontconfig )
+ endif()
+endif (LINUX)
+
+if( NOT USE_CONAN )
use_prebuilt_binary(libhunspell)
- use_prebuilt_binary(slvoice)
-endif(NOT USESYSTEMLIBS)
+endif()
+
+use_prebuilt_binary(slvoice)