aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Merry <alex.merry@kde.org>2014-06-21 16:45:54 +0100
committerAlex Merry <alex.merry@kde.org>2014-06-21 16:45:54 +0100
commite782f0adc99dbcfedabb5f1c90f192151b545b00 (patch)
tree9e58dd1033bd7fff2bea7692b84a81758f91e9e4
parenta52b00f31eb5df1cd603975bdd31794233898a59 (diff)
downloadkconfig-e782f0adc99dbcfedabb5f1c90f192151b545b00.tar.gz
kconfig-e782f0adc99dbcfedabb5f1c90f192151b545b00.tar.bz2
Adapt change to NAME_PREFIX behaviour in ecm_add_tests.
NAME_PREFIX now only changes the test name, not the target name.
-rw-r--r--autotests/CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt
index 0853dd38..b91f754b 100644
--- a/autotests/CMakeLists.txt
+++ b/autotests/CMakeLists.txt
@@ -19,17 +19,17 @@ endif()
# 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 kconfigcore-kentrymaptest
+ TEST_NAME kentrymaptest
LINK_LIBRARIES KF5::ConfigCore Qt5::Test
)
# compile KConfigUtils into the test since it's not exported
set(test_kconfigutils_SRCS test_kconfigutils ../src/kconf_update/kconfigutils.cpp)
ecm_add_test(${test_kconfigutils_SRCS}
- TEST_NAME kconfigcore-test_kconfigutils
+ TEST_NAME test_kconfigutils
LINK_LIBRARIES KF5::ConfigCore Qt5::Test
)
-target_include_directories(kconfigcore-test_kconfigutils PRIVATE ../src/kconf_update)
+target_include_directories(test_kconfigutils PRIVATE ../src/kconf_update)
ecm_add_tests(
kconfignokdehometest.cpp
@@ -41,7 +41,7 @@ ecm_add_tests(
LINK_LIBRARIES KF5::ConfigCore Qt5::Test Qt5::Concurrent
)
-target_include_directories(kconfigcore-test_kconf_update PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../src/kconf_update)
+target_include_directories(test_kconf_update PRIVATE ${CMAKE_CURRENT_BINARY_DIR}/../src/kconf_update)
ecm_add_tests(
kconfigguitest.cpp