diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-01-14 16:15:09 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2014-01-14 16:15:09 (GMT) |
commit | 836927aa902696297febc95132e2c82147c08c03 (patch) | |
tree | 64bcbaa67c6f70acdb5f4cc9184f600fad46b826 /contrib/cmake/FindSWI.cmake | |
parent | f7ca1ebaa5a527f817892bc3794452df1a6c20c6 (diff) | |
download | uscxml-836927aa902696297febc95132e2c82147c08c03.zip uscxml-836927aa902696297febc95132e2c82147c08c03.tar.gz uscxml-836927aa902696297febc95132e2c82147c08c03.tar.bz2 |
Expect Invoker and Fedora build fixes
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) |