From b939b48f8d5e5eaf9a51a7e9bda2ad8cedca27d9 Mon Sep 17 00:00:00 2001 From: Matthew Dawson Date: Sat, 4 Feb 2017 02:51:06 -0500 Subject: Don't link against kconfigdata.cpp in the kentrymaptest unit test. Due to eab822e206207c51d47f0f0da109caacfbee4e2f, KEntryMap is now an exported type. As such it is no longer needed to link in kconfigdata.cpp into this test. --- autotests/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 96c7b65e..6d259881 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -16,8 +16,7 @@ if(NOT Qt5Concurrent_FOUND) return() endif() -# compile KEntryMap into the test since it's not exported -set(kentrymaptest_SRCS kentrymaptest.cpp ../src/core/kconfigdata.cpp) +set(kentrymaptest_SRCS kentrymaptest.cpp) ecm_add_test(${kentrymaptest_SRCS} TEST_NAME kentrymaptest LINK_LIBRARIES KF5::ConfigCore Qt5::Test -- cgit v1.2.1