summaryrefslogtreecommitdiff
path: root/indra/cmake/ViewerMiscLibs.cmake
blob: 13f5ebf862403171ed4f2d81cb6d9dbe7bc53014 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# -*- cmake -*-
include(Prebuilt)

if (NOT (WINDOWS OR DARWIN))
  add_library( ll::fontconfig INTERFACE IMPORTED )

  find_package(Fontconfig REQUIRED)
  target_link_libraries( ll::fontconfig INTERFACE  Fontconfig::Fontconfig )
endif (NOT (WINDOWS OR DARWIN))

if( USE_AUTOBUILD_3P )
  use_prebuilt_binary(libhunspell)
endif()

if (NOT USESYSTEMLIBS)
use_prebuilt_binary(slvoice)
endif (NOT USESYSTEMLIBS)

if ((${LINUX_DISTRO} MATCHES debian OR WINDOWS OR DARWIN) OR NOT USESYSTEMLIBS)
use_prebuilt_binary(nanosvg)
endif ((${LINUX_DISTRO} MATCHES debian OR WINDOWS OR DARWIN) OR NOT USESYSTEMLIBS)
use_prebuilt_binary(viewer-fonts)
use_prebuilt_binary(emoji_shortcodes)