BUG: make sure if swig is found, we know it is found

This commit is contained in:
Bill Hoffman 2004-06-29 10:22:06 -04:00
parent 43d380e0d8
commit 32381805d3
1 changed files with 1 additions and 0 deletions

View File

@ -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