summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-06-29 14:22:06 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-06-29 14:22:06 (GMT)
commit32381805d3c6765014973421feecafdf179a0dcf (patch)
treefce72b1ae309f102f652d30c385ca258f5f27e7d
parent43d380e0d8c6458b7b729dbc8eab4f504960f9f9 (diff)
downloadCMake-32381805d3c6765014973421feecafdf179a0dcf.zip
CMake-32381805d3c6765014973421feecafdf179a0dcf.tar.gz
CMake-32381805d3c6765014973421feecafdf179a0dcf.tar.bz2
BUG: make sure if swig is found, we know it is found
-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