summaryrefslogtreecommitdiff
path: root/indra/cmake/Hunspell.cmake
blob: 258a27b5de6c4b36d6651e8ac1210068e10c9fd0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# -*- cmake -*-
include(Prebuilt)

include_guard()
create_target( ll::hunspell )

use_prebuilt_binary(libhunspell)
if (WINDOWS)
  set_target_libraries( ll::hunspell libhunspell)
elseif(DARWIN)
  set_target_libraries( ll::hunspell hunspell-1.3)
elseif(LINUX)
  set_target_libraries( ll::hunspell hunspell-1.3)
endif()
set_target_include_dirs( ll::hunspell ${LIBS_PREBUILT_DIR}/include/hunspell)
use_prebuilt_binary(dictionaries)