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

if (STANDALONE)
	include(FindHunSpell)
else (STANDALONE)
    use_prebuilt_binary(hunspell)
	
	set(HUNSPELL_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/hunspell)

	if (LINUX OR DARWIN)
	    set(HUNSPELL_LIBRARY hunspell-1.2)
	else (LINUX OR DARWIN)
	    set(HUNSPELL_LIBRARY libhunspell)
	endif (LINUX OR DARWIN)
endif (STANDALONE)