https://bugs.kde.org/show_bug.cgi?id=231915

--- Comment #2 from Thomas Friedrichsmeier 
<thomas.friedrichsme...@ruhr-uni-bochum.de> ---
Created attachment 112014
  --> https://bugs.kde.org/attachment.cgi?id=112014&action=edit
Updated (KF5) testcase

This CMakeLists.txt can be used with the testcase save as testcase.cpp:

PROJECT(kfdtest)

FIND_PACKAGE(ECM 0.0.11 REQUIRED NO_MODULE)

SET(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})

INCLUDE(KDEInstallDirs)
INCLUDE(KDECMakeSettings)
INCLUDE(KDECompilerSettings)
INCLUDE(FeatureSummary)

FIND_PACKAGE(Qt5 5.2 CONFIG REQUIRED COMPONENTS Widgets Core)
FIND_PACKAGE(KF5 5.2 REQUIRED COMPONENTS KDELibs4Support)

ADD_EXECUTABLE(kfdtest testcase.cpp)
TARGET_LINK_LIBRARIES(kfdtest Qt5::Widgets KF5::KDELibs4Support)

FEATURE_SUMMARY(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to