diff options
Diffstat (limited to 'contrib/cmake/FindSWI.cmake')
-rw-r--r-- | contrib/cmake/FindSWI.cmake | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/cmake/FindSWI.cmake b/contrib/cmake/FindSWI.cmake index 1eb98cd..0953307 100644 --- a/contrib/cmake/FindSWI.cmake +++ b/contrib/cmake/FindSWI.cmake @@ -21,8 +21,12 @@ if (SWI_FOUND) # message("SWI_CFLAGS_OTHER_STATIC: ${SWI_CFLAGS_OTHER_STATIC}") # message(FATAL_ERROR "") - set(SWI_INCLUDE_DIR ${SWI_LIBRARY_DIRS}) - set(SWI_LIBRARY ${SWI_LIBRARIES}) + set(SWI_INCLUDE_DIR ${SWI_INCLUDE_DIRS}) + + FIND_LIBRARY(SWI_LIBRARY + NAMES libswipl swipl + PATHS ${SWI_LIBRARY_DIRS} + ) FIND_PROGRAM(SWI_BINARY swipl) |