diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-29 14:22:06 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-06-29 14:22:06 (GMT) |
commit | 32381805d3c6765014973421feecafdf179a0dcf (patch) | |
tree | fce72b1ae309f102f652d30c385ca258f5f27e7d /Modules/FindSWIG.cmake | |
parent | 43d380e0d8c6458b7b729dbc8eab4f504960f9f9 (diff) | |
download | CMake-32381805d3c6765014973421feecafdf179a0dcf.zip CMake-32381805d3c6765014973421feecafdf179a0dcf.tar.gz CMake-32381805d3c6765014973421feecafdf179a0dcf.tar.bz2 |
BUG: make sure if swig is found, we know it is found
Diffstat (limited to 'Modules/FindSWIG.cmake')
-rw-r--r-- | Modules/FindSWIG.cmake | 1 |
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 |