From 9db3c30218c417dc5bfb3b7fbba85643969f3c90 Mon Sep 17 00:00:00 2001 From: Andrew Stitcher Date: Wed, 16 Mar 2016 22:36:24 +0000 Subject: QPID-7148: Update CMake files to use better more modern style and features - This is already the way we do this stuff in Qpid Proton - Upgrade minimum version of CMake to 2.8.7 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1735324 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/tests/legacystore/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'qpid/cpp/src/tests/legacystore') diff --git a/qpid/cpp/src/tests/legacystore/CMakeLists.txt b/qpid/cpp/src/tests/legacystore/CMakeLists.txt index 5527f23255..9f6f6b7171 100644 --- a/qpid/cpp/src/tests/legacystore/CMakeLists.txt +++ b/qpid/cpp/src/tests/legacystore/CMakeLists.txt @@ -53,8 +53,7 @@ target_link_libraries (${testname} if ("${ARGV1}" STREQUAL "LONG") set_target_properties(${testname} PROPERTIES COMPILE_DEFINITIONS LONG_TEST) endif () -remember_location(${testname}) -add_test (${testname} ${test_wrap} -boostTest -- ${${testname}_LOCATION}) +add_test (NAME ${testname} COMMAND ${test_wrap} -boostTest -- $) unset (testname) ENDMACRO (define_journal_test) -- cgit v1.2.1