mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 03:59:58 +00:00
ENH: try to find swig.exe in SWIG_DIR
This commit is contained in:
parent
920aef76e0
commit
5fd1c7fd3c
@ -17,7 +17,7 @@ IF(EXISTS ${SWIG_DIR})
|
||||
ELSE(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
|
||||
FIND_PROGRAM(SWIG_EXECUTABLE
|
||||
NAMES swig-1.3 swig
|
||||
PATHS /usr/bin /usr/local/bin)
|
||||
PATHS ${SWIG_DIR} /usr/bin /usr/local/bin )
|
||||
SET(SWIG_USE_FILE ${CMAKE_ROOT}/Modules/UseSWIG.cmake)
|
||||
ENDIF(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
|
||||
ENDIF(EXISTS ${SWIG_DIR})
|
||||
|
Loading…
Reference in New Issue
Block a user