Add some more useful output when about the cmake version

Change-Id: I58efa1f295dbc652b1882937ca27ea52d9f4a923
Reviewed-by: Alexander Neundorf <neundorf@kde.org>
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
Stephen Kelly 2012-04-27 15:11:26 +02:00 committed by Qt by Nokia
parent 75a0c7f9b5
commit 4490681459

View File

@ -82,7 +82,7 @@ if(${CMAKE_VERSION} VERSION_EQUAL 2.8.7 OR ${CMAKE_VERSION} VERSION_GREATER 2.8.
# Requires CMAKE_AUTOMOC function in CMake 2.8.7
expect_pass(pass1)
else()
message("CMake version older than 2.8.7. Not running test \"pass1\"")
message("CMake version older than 2.8.7 (Found ${CMAKE_VERSION}). Not running test \"pass1\"")
endif()
expect_pass(pass2)
# Modules do not currently find their own dependencies.