Fix build with CMake 3.8
This commit is contained in:
parent
57c35df0bb
commit
500d84d2bc
@ -21,6 +21,7 @@ endif()
|
|||||||
MACRO(PLASMA_UNIT_TESTS)
|
MACRO(PLASMA_UNIT_TESTS)
|
||||||
FOREACH(_testname ${ARGN})
|
FOREACH(_testname ${ARGN})
|
||||||
add_executable(${_testname} ${_testname}.cpp)
|
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
|
target_link_libraries(${_testname} Qt5::Qml Qt5::Test
|
||||||
KF5::Plasma KF5::PlasmaQuick
|
KF5::Plasma KF5::PlasmaQuick
|
||||||
KF5::Archive KF5::CoreAddons
|
KF5::Archive KF5::CoreAddons
|
||||||
|
Loading…
Reference in New Issue
Block a user