summaryrefslogtreecommitdiffstats
path: root/Modules/Qt4ConfigDependentSettings.cmake
diff options
context:
space:
mode:
authorClinton Stimpson <clinton@elemtech.com>2010-01-18 20:49:46 (GMT)
committerClinton Stimpson <clinton@elemtech.com>2010-01-18 20:49:46 (GMT)
commit835b07a3a8a62f12806ceb472dfb60dac21c8e0b (patch)
tree0c157c889066f06866319b0872b48033c11f0cef /Modules/Qt4ConfigDependentSettings.cmake
parent1833961ce5a5e058d0936645a3501a9e8acdc341 (diff)
downloadCMake-835b07a3a8a62f12806ceb472dfb60dac21c8e0b.zip
CMake-835b07a3a8a62f12806ceb472dfb60dac21c8e0b.tar.gz
CMake-835b07a3a8a62f12806ceb472dfb60dac21c8e0b.tar.bz2
Put quotes arounds strings when doing STREQUAL.
Diffstat (limited to 'Modules/Qt4ConfigDependentSettings.cmake')
-rw-r--r--Modules/Qt4ConfigDependentSettings.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Qt4ConfigDependentSettings.cmake b/Modules/Qt4ConfigDependentSettings.cmake
index 0c440b6..1331f41 100644
--- a/Modules/Qt4ConfigDependentSettings.cmake
+++ b/Modules/Qt4ConfigDependentSettings.cmake
@@ -43,9 +43,9 @@ ELSE(WIN32)
# On other platforms, check file extension to know if its static
IF(QT_QTCORE_LIBRARY_RELEASE)
GET_FILENAME_COMPONENT(qtcore_lib_ext "${QT_QTCORE_LIBRARY_RELEASE}" EXT)
- IF(${qtcore_lib_ext} STREQUAL ${CMAKE_STATIC_LIBRARY_SUFFIX})
+ IF("${qtcore_lib_ext}" STREQUAL "${CMAKE_STATIC_LIBRARY_SUFFIX}")
SET(QT_IS_STATIC 1)
- ENDIF(${qtcore_lib_ext} STREQUAL ${CMAKE_STATIC_LIBRARY_SUFFIX})
+ ENDIF("${qtcore_lib_ext}" STREQUAL "${CMAKE_STATIC_LIBRARY_SUFFIX}")
ENDIF(QT_QTCORE_LIBRARY_RELEASE)
IF(QT_QTCORE_LIBRARY_DEBUG)
GET_FILENAME_COMPONENT(qtcore_lib_ext "${QT_QTCORE_LIBRARY_DEBUG}" EXT)