From e782f0adc99dbcfedabb5f1c90f192151b545b00 Mon Sep 17 00:00:00 2001 From: Alex Merry Date: Sat, 21 Jun 2014 16:45:54 +0100 Subject: Adapt change to NAME_PREFIX behaviour in ecm_add_tests. NAME_PREFIX now only changes the test name, not the target name. --- autotests/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'autotests') 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 -- cgit v1.2.1