[Cmake-commits] [cmake-commits] clinton committed Qt4ConfigDependentSettings.cmake 1.4 1.5

cmake-commits at cmake.org cmake-commits at cmake.org
Mon Jan 18 15:49:50 EST 2010


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv3994

Modified Files:
	Qt4ConfigDependentSettings.cmake 
Log Message:
Put quotes arounds strings when doing STREQUAL.


Index: Qt4ConfigDependentSettings.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/Qt4ConfigDependentSettings.cmake,v
retrieving revision 1.4
retrieving revision 1.5
diff -C 2 -d -r1.4 -r1.5
*** Qt4ConfigDependentSettings.cmake	15 Dec 2009 21:16:45 -0000	1.4
--- Qt4ConfigDependentSettings.cmake	18 Jan 2010 20:49:46 -0000	1.5
***************
*** 44,50 ****
    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})
        SET(QT_IS_STATIC 1)
!     ENDIF(${qtcore_lib_ext} STREQUAL ${CMAKE_STATIC_LIBRARY_SUFFIX})
    ENDIF(QT_QTCORE_LIBRARY_RELEASE)
    IF(QT_QTCORE_LIBRARY_DEBUG)
--- 44,50 ----
    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}")
        SET(QT_IS_STATIC 1)
!     ENDIF("${qtcore_lib_ext}" STREQUAL "${CMAKE_STATIC_LIBRARY_SUFFIX}")
    ENDIF(QT_QTCORE_LIBRARY_RELEASE)
    IF(QT_QTCORE_LIBRARY_DEBUG)



More information about the Cmake-commits mailing list