Commit b99046be authored by Bill Hoffman's avatar Bill Hoffman
Browse files

ENH: add another place to look for swig.exe

parent 5fd1c7fd
...@@ -17,7 +17,7 @@ IF(EXISTS ${SWIG_DIR}) ...@@ -17,7 +17,7 @@ IF(EXISTS ${SWIG_DIR})
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
PATHS ${SWIG_DIR} /usr/bin /usr/local/bin ) PATHS ${SWIG_DIR} ${SWIG_DIR}/.. /usr/bin /usr/local/bin )
SET(SWIG_USE_FILE ${CMAKE_ROOT}/Modules/UseSWIG.cmake) SET(SWIG_USE_FILE ${CMAKE_ROOT}/Modules/UseSWIG.cmake)
ENDIF(EXISTS ${SWIG_DIR}/SWIGConfig.cmake) ENDIF(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
ENDIF(EXISTS ${SWIG_DIR}) ENDIF(EXISTS ${SWIG_DIR})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment