summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2012-03-28 12:43:44 (GMT)
committerChristian Mollekopf <mollekopf@kolabsys.com>2012-03-28 12:43:44 (GMT)
commitab74c818a2fb18b7268f53abb1570ea5314e5dac (patch)
tree6624ed4562263588efbe9fb2691d8a9d5efebb11
parentf4d2044b84f2d1e976bd51683e408f5f1ab771b4 (diff)
downloadlibkolabxml-ab74c818a2fb18b7268f53abb1570ea5314e5dac.tar.gz
Test for qt properly
-rw-r--r--libkolabxml/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/libkolabxml/CMakeLists.txt b/libkolabxml/CMakeLists.txt
index ffbaf57..69965da 100644
--- a/libkolabxml/CMakeLists.txt
+++ b/libkolabxml/CMakeLists.txt
@@ -126,7 +126,9 @@ include_directories( compiled )
include_directories( ${CMAKE_CURRENT_BINARY_DIR} )
add_subdirectory(lib)
-if (${QT_FOUND})
+if (QT4_FOUND)
add_subdirectory(tests)
+else()
+ message("Qt libraries have not been found, not building tests")
endif()