BUG: make sure if swig is found, we know it is found
This commit is contained in:
parent
43d380e0d8
commit
32381805d3
|
@ -16,6 +16,7 @@ IF(EXISTS ${SWIG_DIR})
|
||||||
|
|
||||||
IF(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
|
IF(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
|
||||||
INCLUDE(${SWIG_DIR}/SWIGConfig.cmake)
|
INCLUDE(${SWIG_DIR}/SWIGConfig.cmake)
|
||||||
|
SET(SWIG_FOUND 1)
|
||||||
ELSE(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
|
ELSE(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
|
||||||
FIND_PROGRAM(SWIG_EXECUTABLE
|
FIND_PROGRAM(SWIG_EXECUTABLE
|
||||||
NAMES swig-1.3 swig
|
NAMES swig-1.3 swig
|
||||||
|
|
Loading…
Reference in New Issue