diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2016-03-16 22:36:24 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2016-03-16 22:36:24 +0000 |
| commit | 9db3c30218c417dc5bfb3b7fbba85643969f3c90 (patch) | |
| tree | b7137019c83549f07e19887849aa483233267c19 /qpid/cpp/src/tests/legacystore | |
| parent | a13774c897218ba99d55a743ab77ba9179b93ff3 (diff) | |
| download | qpid-python-9db3c30218c417dc5bfb3b7fbba85643969f3c90.tar.gz | |
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
Diffstat (limited to 'qpid/cpp/src/tests/legacystore')
| -rw-r--r-- | qpid/cpp/src/tests/legacystore/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
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 -- $<TARGET_FILE:${testname}>) unset (testname) ENDMACRO (define_journal_test) |
