Source: qutecom Version: 2.2.1+dfsg1-5 Severity: normal Tags: patch User: [email protected] Usertags: cmake-3.0
Hi, I have prepared cmake 3.0 in experimental and would like to upload it to unstable soon. qutecom fails to build from source with cmake 3.0 because it calls find_package(qt4) in libs/3rdparty/qt4/CMakeLists.txt but uses Qt4 macros in various CMakeLists.txt files that are not beneath libs/3rdparty/qt4. I've attached a patch that calls find_package(qt4) in the root CMakeLists.txt. The full build log is at https://people.debian.org/~fgeyer/cmake-3.0/qutecom_2.2.1+dfsg1-5_amd64.build Cheers, Felix
diff -Nur a/CMakeLists.txt b/CMakeLists.txt --- a/CMakeLists.txt 2011-02-10 11:03:43.000000000 +0100 +++ b/CMakeLists.txt 2014-08-18 19:07:13.554038111 +0200 @@ -23,6 +23,8 @@ include(DefineInstallationPaths.cmake) include(DefineCPackDefaults.cmake) +find_package(Qt4 REQUIRED) + subdirs( libs/3rdparty )

