Sfoglia il codice sorgente

BUG: make sure if swig is found, we know it is found

Bill Hoffman 21 anni fa
parent
commit
32381805d3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      Modules/FindSWIG.cmake

+ 1 - 0
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