summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-30 17:41:06 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-04-30 17:41:06 (GMT)
commita401922ca3e5420d7c75a95102c56300fe15a8a5 (patch)
treeb1835e0aa2ccdec84c73160ebc9d227a7243cb4e
parentb99046be8149925ac06fbbbd5ed42ce304dd1112 (diff)
downloadCMake-a401922ca3e5420d7c75a95102c56300fe15a8a5.zip
CMake-a401922ca3e5420d7c75a95102c56300fe15a8a5.tar.gz
CMake-a401922ca3e5420d7c75a95102c56300fe15a8a5.tar.bz2
ENH: More paths
-rw-r--r--Modules/FindSWIG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindSWIG.cmake b/Modules/FindSWIG.cmake
index ee26c36..0403aa7 100644
--- a/Modules/FindSWIG.cmake
+++ b/Modules/FindSWIG.cmake
@@ -17,7 +17,7 @@ IF(EXISTS ${SWIG_DIR})
ELSE(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
FIND_PROGRAM(SWIG_EXECUTABLE
NAMES swig-1.3 swig
- PATHS ${SWIG_DIR} ${SWIG_DIR}/.. /usr/bin /usr/local/bin )
+ PATHS ${SWIG_DIR} ${SWIG_DIR}/.. ${SWIG_DIR}/../../bin /usr/bin /usr/local/bin )
SET(SWIG_USE_FILE ${CMAKE_ROOT}/Modules/UseSWIG.cmake)
ENDIF(EXISTS ${SWIG_DIR}/SWIGConfig.cmake)
ENDIF(EXISTS ${SWIG_DIR})