From 579f69d256fcef302590716cb44113d81c4b6bf5 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Tue, 3 Mar 2015 18:42:58 +0100 Subject: [PATCH] Make `make test` work --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 5d16516..f309be7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -101,4 +101,4 @@ qt5_use_modules(fridatest Widgets) ADD_SUBDIRECTORY(/usr/src/gmock gmock) enable_testing() target_link_libraries(fridatest gmock gtest gmock_main ${QT_LIBRARIES} ${LLVM_LDFLAGS} -lLLVM-3.5 ${LLVM_SYSTEM_LIBS} ${LOG4CXX_LDFLAGS} ${GUILE_LDFLAGS} ${QUAZIP_LIBRARIES}) -add_test( fridatest fridatest ) +add_test(NAME fridatest COMMAND fridatest WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}) -- 2.39.5