summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()