Commit 5ab1a84d authored by Ralf Habacker's avatar Ralf Habacker

Fix compile error 'undefined reference to `qInitResources_icons()' on KF5 builds.

CCBUG:364120
parent 4bc648db
...@@ -21,11 +21,12 @@ option(BUILD_KF5 "Build for KDE Frameworks 5" OFF) ...@@ -21,11 +21,12 @@ option(BUILD_KF5 "Build for KDE Frameworks 5" OFF)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules) list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
include(Macros) include(Macros)
set(CMAKE_AUTORCC ON)
if(NOT BUILD_KF5) if(NOT BUILD_KF5)
cmake_minimum_required(VERSION 2.8 FATAL_ERROR) cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
set(CMAKE_AUTOMOC ON) set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
set(CMAKE_INCLUDE_CURRENT_DIR ON) set(CMAKE_INCLUDE_CURRENT_DIR ON)
find_package(Qt4 4.4.3 REQUIRED QtCore QtGui QtXml QtTest) find_package(Qt4 4.4.3 REQUIRED QtCore QtGui QtXml QtTest)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment