summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Modules/FindSWIG.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindSWIG.cmake b/Modules/FindSWIG.cmake
index 0932a8c..5d2ae9b 100644
--- a/Modules/FindSWIG.cmake
+++ b/Modules/FindSWIG.cmake
@@ -16,6 +16,7 @@ IF(EXISTS ${SWIG_DIR})
IF(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
INCLUDE(${SWIG_DIR}/SWIGConfig.cmake)
+ SET(SWIG_FOUND 1)
ELSE(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
FIND_PROGRAM(SWIG_EXECUTABLE
NAMES swig-1.3 swig