From 0115fcd5bf3231284300c7fa81b1e7dc81268e73 Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sat, 25 May 2013 16:02:20 +0200 Subject: [PATCH] Don't build CrashReporter with Qt5 --- src/crashreporter/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/crashreporter/CMakeLists.txt b/src/crashreporter/CMakeLists.txt index ee1628cb1..4dc7c5f9a 100644 --- a/src/crashreporter/CMakeLists.txt +++ b/src/crashreporter/CMakeLists.txt @@ -1,4 +1,5 @@ -PROJECT( CrashReporter ) +if( BUILD_WITH_QT4 ) +project( CrashReporter ) cmake_policy(SET CMP0017 NEW) setup_qt() @@ -29,3 +30,4 @@ set_target_properties(tomahawk_crash_reporter PROPERTIES AUTOMOC ON) install(TARGETS tomahawk_crash_reporter RUNTIME DESTINATION ${CMAKE_INSTALL_LIBEXECDIR}) qt5_use_modules(tomahawk_crash_reporter Widgets Network) +endif()