diff options
author | Rolf Eike Beer <eike@sf-mail.de> | 2014-04-11 16:49:03 (GMT) |
---|---|---|
committer | Rolf Eike Beer <eike@sf-mail.de> | 2014-04-14 16:17:49 (GMT) |
commit | f21ac16edd0d2fbe78daf17bf5f964e4cfbd694b (patch) | |
tree | 421af0acc69aaf7b0fd17b751867e70095c7719c /Modules | |
parent | 7eacbaed4db3c3fe5d6c0e3a31e239530a7468f1 (diff) | |
download | CMake-f21ac16edd0d2fbe78daf17bf5f964e4cfbd694b.zip CMake-f21ac16edd0d2fbe78daf17bf5f964e4cfbd694b.tar.gz CMake-f21ac16edd0d2fbe78daf17bf5f964e4cfbd694b.tar.bz2 |
Replace MATCHES test on numbers with EQUAL test
The MATCHES tests were actually wrong, as "a4b" and "42" would also cause a
match when it should not.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindQt.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindQt.cmake b/Modules/FindQt.cmake index 98ba43d..1bc0940 100644 --- a/Modules/FindQt.cmake +++ b/Modules/FindQt.cmake @@ -154,12 +154,12 @@ else() endif() endif() -if(DESIRED_QT_VERSION MATCHES 3) +if(DESIRED_QT_VERSION EQUAL 3) set(Qt3_FIND_REQUIRED ${Qt_FIND_REQUIRED}) set(Qt3_FIND_QUIETLY ${Qt_FIND_QUIETLY}) include(${CMAKE_CURRENT_LIST_DIR}/FindQt3.cmake) endif() -if(DESIRED_QT_VERSION MATCHES 4) +if(DESIRED_QT_VERSION EQUAL 4) set(Qt4_FIND_REQUIRED ${Qt_FIND_REQUIRED}) set(Qt4_FIND_QUIETLY ${Qt_FIND_QUIETLY}) include(${CMAKE_CURRENT_LIST_DIR}/FindQt4.cmake) |