mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
cmake: extend search path for enchant
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33728 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
487e9ad92a
commit
5ab7d85a89
@ -225,8 +225,8 @@ if(WIN32)
|
||||
find_library(ENCHANT_LIBRARY "libenchant")
|
||||
find_path(ENCHANT_INCLUDE_DIR "enchant++.h")
|
||||
else()
|
||||
find_library(ENCHANT_LIBRARY "enchant" "/usr/local/lib" "/usr/lib")
|
||||
find_path(ENCHANT_INCLUDE_DIR "enchant++.h" PATHS /usr/local/include /usr/local/include/enchant /usr/include /usr/include/enchant)
|
||||
find_library(ENCHANT_LIBRARY "enchant" "/usr/local/lib" "/usr/lib" "/usr/local/lib" "/opt/local/lib")
|
||||
find_path(ENCHANT_INCLUDE_DIR "enchant++.h" PATHS /usr/local/include /usr/local/include/enchant /usr/include /usr/include/enchant /opt/local/include/enchant)
|
||||
endif()
|
||||
if (ENCHANT_LIBRARY AND ENCHANT_INCLUDE_DIR)
|
||||
set(ENCHANT_FOUND TRUE)
|
||||
|
Loading…
Reference in New Issue
Block a user