From d7d208b7f21a5c52a67c4cb1115360f8fcff942c Mon Sep 17 00:00:00 2001 From: Jose Fonseca Date: Wed, 27 Jan 2016 12:55:32 +0000 Subject: libbacktrace: Fix test commands. Use full path, and not just target name. --- thirdparty/libbacktrace/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'thirdparty') diff --git a/thirdparty/libbacktrace/CMakeLists.txt b/thirdparty/libbacktrace/CMakeLists.txt index 3fc54306..ac0089f0 100644 --- a/thirdparty/libbacktrace/CMakeLists.txt +++ b/thirdparty/libbacktrace/CMakeLists.txt @@ -158,10 +158,10 @@ add_executable (btest btest.c) set_target_properties (btest PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS_DEBUG}") target_link_libraries (btest backtrace) add_dependencies (check btest) -add_test (libbacktrace_btest btest) +add_test (NAME libbacktrace_btest COMMAND $) add_executable (stest stest.c) set_target_properties (stest PROPERTIES COMPILE_FLAGS "${CMAKE_C_FLAGS_DEBUG}") target_link_libraries (stest backtrace) add_dependencies (check stest) -add_test (libbacktrace_stest stest) +add_test (NAME libbacktrace_stest COMMAND $) -- cgit v1.2.3