projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4490681
)
Simplify the cmake version check.
author
Stephen Kelly
<stephen.kelly@kdab.com>
Fri, 27 Apr 2012 13:30:22 +0000
(15:30 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Sun, 29 Apr 2012 12:05:39 +0000
(14:05 +0200)
Change-Id: Ifdd89397f88b090a6b43d40636dbeac029faaed8
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
tests/auto/cmake/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/tests/auto/cmake/CMakeLists.txt
b/tests/auto/cmake/CMakeLists.txt
index
3b0d7d0
..
49aaaa2
100644
(file)
--- a/
tests/auto/cmake/CMakeLists.txt
+++ b/
tests/auto/cmake/CMakeLists.txt
@@
-78,7
+78,7
@@
macro(expect_fail _dir)
)
endmacro()
-if(
${CMAKE_VERSION} VERSION_EQUAL 2.8.7 OR ${CMAKE_VERSION} VERSION_GREATER
2.8.7)
+if(
NOT ${CMAKE_VERSION} VERSION_LESS
2.8.7)
# Requires CMAKE_AUTOMOC function in CMake 2.8.7
expect_pass(pass1)
else()