diff options
author | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-07-23 11:41:54 (GMT) |
---|---|---|
committer | Stefan Radomski <radomski@tk.informatik.tu-darmstadt.de> | 2013-07-23 11:41:54 (GMT) |
commit | 8ff01ac995c8b95fa2695b6ff7e3e985bd4579d6 (patch) | |
tree | 9bc15506a70d8184c16a4bebbac605e6b05d8fe1 /contrib | |
parent | 4a1d9cd369c3a799f4485cf07c4f9d3c231bef7c (diff) | |
download | uscxml-8ff01ac995c8b95fa2695b6ff7e3e985bd4579d6.zip uscxml-8ff01ac995c8b95fa2695b6ff7e3e985bd4579d6.tar.gz uscxml-8ff01ac995c8b95fa2695b6ff7e3e985bd4579d6.tar.bz2 |
Added /usr/local to prolog search paths
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/cmake/FindSWI.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/cmake/FindSWI.cmake b/contrib/cmake/FindSWI.cmake index d715615..acea32c 100644 --- a/contrib/cmake/FindSWI.cmake +++ b/contrib/cmake/FindSWI.cmake @@ -26,6 +26,7 @@ list (APPEND SWI_SEARCH_PATHS ${CMAKE_FIND_ROOT_PATH} "/usr/lib/swi-prolog/" "/opt/local/" + "/usr/local/" "C:/Program Files (x86)/swipl" "C:/Program Files/swipl" ) @@ -38,6 +39,7 @@ foreach(SWI_SEARCH_PATH ${SWI_SEARCH_PATHS}) if(NOT LOOP_DONE) file(GLOB SWI_VERSIONS ${SWI_SEARCH_PATH}/lib/swipl*) if (SWI_VERSIONS) +# message("SWI_VERSIONS: ${SWI_VERSIONS}") set(LOOP_DONE 1) list(SORT SWI_VERSIONS) list(REVERSE SWI_VERSIONS) @@ -47,6 +49,8 @@ foreach(SWI_SEARCH_PATH ${SWI_SEARCH_PATHS}) endif() endforeach() +#message("SWI_VERSION: ${SWI_VERSION}") + set(SWI_PLATFORMS) foreach (SWI_SEARCH_PATH ${SWI_SEARCH_PATHS}) file(GLOB CURR_SWI_PLATFORMS ${SWI_SEARCH_PATH}/lib/swipl-${SWI_VERSION}/lib/*) |