Fix build with CMake 3.8

This commit is contained in:
Christophe Giboudeaux 2017-04-27 19:09:18 +02:00
parent 57c35df0bb
commit 500d84d2bc

View File

@ -21,6 +21,7 @@ endif()
MACRO(PLASMA_UNIT_TESTS)
FOREACH(_testname ${ARGN})
add_executable(${_testname} ${_testname}.cpp)
target_include_directories(${_testname} PRIVATE "$<BUILD_INTERFACE:$<TARGET_PROPERTY:KF5PlasmaQuick,INCLUDE_DIRECTORIES>>;")
target_link_libraries(${_testname} Qt5::Qml Qt5::Test
KF5::Plasma KF5::PlasmaQuick
KF5::Archive KF5::CoreAddons