From 32381805d3c6765014973421feecafdf179a0dcf Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 29 Jun 2004 10:22:06 -0400 Subject: [PATCH] BUG: make sure if swig is found, we know it is found --- Modules/FindSWIG.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/FindSWIG.cmake b/Modules/FindSWIG.cmake index 0932a8c54..5d2ae9be1 100644 --- a/Modules/FindSWIG.cmake +++ b/Modules/FindSWIG.cmake @@ -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