aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Dawson <matthew@mjdsystems.ca>2017-02-04 02:51:06 -0500
committerMatthew Dawson <matthew@mjdsystems.ca>2017-02-04 02:51:06 -0500
commitb939b48f8d5e5eaf9a51a7e9bda2ad8cedca27d9 (patch)
tree2564e3f36c21484d3570953e8841227623e7365a
parent4f34289d872f9346f761ead17afd614a4cce602a (diff)
downloadkconfig-b939b48f8d5e5eaf9a51a7e9bda2ad8cedca27d9.tar.gz
kconfig-b939b48f8d5e5eaf9a51a7e9bda2ad8cedca27d9.tar.bz2
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.
-rw-r--r--autotests/CMakeLists.txt3
1 files changed, 1 insertions, 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