aboutsummaryrefslogtreecommitdiff
path: root/autotests
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2017-02-04 09:45:19 +0000
committerStephen Kelly <steveire@gmail.com>2017-02-04 12:50:26 +0000
commit36e17c3d1c6a2b6af6cb7bb7330cb34b459b25fd (patch)
tree32fa0ffdb04ab648e1773548b135aaa380a18493 /autotests
parentb939b48f8d5e5eaf9a51a7e9bda2ad8cedca27d9 (diff)
downloadkconfig-36e17c3d1c6a2b6af6cb7bb7330cb34b459b25fd.tar.gz
kconfig-36e17c3d1c6a2b6af6cb7bb7330cb34b459b25fd.tar.bz2
Don't export KEntryMap
It is internal.
Diffstat (limited to 'autotests')
-rw-r--r--autotests/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt
index 6d259881..96c7b65e 100644
--- a/autotests/CMakeLists.txt
+++ b/autotests/CMakeLists.txt
@@ -16,7 +16,8 @@ if(NOT Qt5Concurrent_FOUND)
return()
endif()
-set(kentrymaptest_SRCS kentrymaptest.cpp)
+# compile KEntryMap into the test since it's not exported
+set(kentrymaptest_SRCS kentrymaptest.cpp ../src/core/kconfigdata.cpp)
ecm_add_test(${kentrymaptest_SRCS}
TEST_NAME kentrymaptest
LINK_LIBRARIES KF5::ConfigCore Qt5::Test