summaryrefslogtreecommitdiffstats
path: root/Modules/UseSWIG.cmake
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-20 17:10:09 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-20 17:10:09 (GMT)
commitff3ad9683159de867f76ee51afeb197a161a5f23 (patch)
treeb1eb11c3f33072cda3519ca809f8cbf091a35e3c /Modules/UseSWIG.cmake
parent165d70803f27d489544f9ef51f04ce5b4b3a6aae (diff)
downloadCMake-ff3ad9683159de867f76ee51afeb197a161a5f23.zip
CMake-ff3ad9683159de867f76ee51afeb197a161a5f23.tar.gz
CMake-ff3ad9683159de867f76ee51afeb197a161a5f23.tar.bz2
BUG: fix some missing quotes for STREQUAL IF statements
Diffstat (limited to 'Modules/UseSWIG.cmake')
-rw-r--r--Modules/UseSWIG.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/UseSWIG.cmake b/Modules/UseSWIG.cmake
index 35ecc21..41bd5d7 100644
--- a/Modules/UseSWIG.cmake
+++ b/Modules/UseSWIG.cmake
@@ -65,9 +65,9 @@ MACRO(SWIG_ADD_SOURCE_TO_MODULE name outfiles infile)
GET_SOURCE_FILE_PROPERTY(swig_source_file_generated ${infile} GENERATED)
GET_SOURCE_FILE_PROPERTY(swig_source_file_cplusplus ${infile} CPLUSPLUS)
GET_SOURCE_FILE_PROPERTY(swig_source_file_flags ${infile} SWIG_FLAGS)
- IF(${swig_source_file_flags} STREQUAL "NOTFOUND")
+ IF("${swig_source_file_flags}" STREQUAL "NOTFOUND")
SET(swig_source_file_flags "")
- ENDIF(${swig_source_file_flags} STREQUAL "NOTFOUND")
+ ENDIF("${swig_source_file_flags}" STREQUAL "NOTFOUND")
SET(swig_source_file_fullname "${infile}")
IF(${swig_source_file_path} MATCHES "^${CMAKE_CURRENT_SOURCE_DIR}")
STRING(REGEX REPLACE