summaryrefslogtreecommitdiff
path: root/indra/cmake/Hunspell.cmake
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-04-25 12:27:34 -0400
committerOz Linden <oz@lindenlab.com>2012-04-25 12:27:34 -0400
commit9b64464d02918307048be6fe5f0b784010d38bf8 (patch)
treeaa4ffc42c44af85e54bc4f8fed0370c31ff80dae /indra/cmake/Hunspell.cmake
parent7bcfd3a4ae824d973802b1431a13e91eee18c89a (diff)
more attempts to fix the hunspell lib for Mac
Diffstat (limited to 'indra/cmake/Hunspell.cmake')
-rw-r--r--indra/cmake/Hunspell.cmake10
1 files changed, 5 insertions, 5 deletions
diff --git a/indra/cmake/Hunspell.cmake b/indra/cmake/Hunspell.cmake
index 24cf41f4e4..0c9cf93316 100644
--- a/indra/cmake/Hunspell.cmake
+++ b/indra/cmake/Hunspell.cmake
@@ -8,15 +8,15 @@ if (STANDALONE)
include(FindHUNSPELL)
else (STANDALONE)
use_prebuilt_binary(libhunspell)
- use_prebuilt_binary(dictionaries)
if (WINDOWS)
set(HUNSPELL_LIBRARY libhunspell)
- set(HUNSPELL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/hunspell)
elseif(DARWIN)
+ set(HUNSPELL_LIBRARY hunspell-1.3.0)
+ elseif(LINUX)
set(HUNSPELL_LIBRARY hunspell-1.3)
- set(HUNSPELL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/hunspell)
else()
- set(HUNSPELL_LIBRARY hunspell-1.3)
- set(HUNSPELL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/hunspell)
+ message(FATAL_ERROR "Invalid platform")
endif()
+ set(HUNSPELL_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include/hunspell)
+ use_prebuilt_binary(dictionaries)
endif (STANDALONE)