diff options
Diffstat (limited to 'contrib/cmake')
-rw-r--r-- | contrib/cmake/FindSWI.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/cmake/FindSWI.cmake b/contrib/cmake/FindSWI.cmake index 3a10269..976a19a 100644 --- a/contrib/cmake/FindSWI.cmake +++ b/contrib/cmake/FindSWI.cmake @@ -22,7 +22,7 @@ endif() set (SWI_SEARCH_PATHS) list (APPEND SWI_SEARCH_PATHS - $ENV{SWI_DIR} + $ENV{SWI_HOME} ${CMAKE_FIND_ROOT_PATH} "/usr/lib/swi-prolog/" "/opt/local/" @@ -52,7 +52,7 @@ endforeach() # -- find prolog headers FIND_PATH(SWI_INCLUDE_DIR SWI-Prolog.h PATH_SUFFIXES - include + include lib/swipl-${SWI_VERSION}/include PATHS ${SWI_SEARCH_PATHS} ) |