]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/modules/FindASPELL.cmake
Merge branch 'master' of git.lyx.org:lyx
[lyx.git] / development / cmake / modules / FindASPELL.cmake
index c62a09a9c78b1eeb0232a9ec365945d94203e5a5..6054d6adfe2ab6939c6743481b9f579b07ba2f23 100644 (file)
@@ -54,8 +54,7 @@ FIND_PATH(ASPELL_INCLUDE_DIR aspell.h
 
 FIND_LIBRARY(ASPELL_LIBRARY_RELEASE NAMES aspell aspell-15 libaspell libaspell-15
        PATHS
-       /usr/lib
-       /usr/local/lib
+       ${SYSTEM_LIB_DIRS}
 )
 
 # msvc makes a difference between debug and release
@@ -105,4 +104,4 @@ else()
        endif()
 endif()
 
-MARK_AS_ADVANCED(ASPELL_INCLUDE_DIR ASPELL_LIBRARY)
+MARK_AS_ADVANCED(ASPELL_INCLUDE_DIR ASPELL_LIBRARY ASPELL_LIBRARY_RELEASE ASPELL_LIBRARY_DEBUG)