From 3a33cdca7d0f4dce57feff5cf1d49e282dbf9b98 Mon Sep 17 00:00:00 2001 From: Darrell Wright Date: Fri, 24 Nov 2017 23:19:07 -0500 Subject: [PATCH] Fixed WORKING_DIR path on testit target to use project root as base --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index fe31ac5..dd0d34c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -54,6 +54,6 @@ install( DIRECTORY ${HEADER_FOLDER}/ DESTINATION include/ ) add_custom_target( testit COMMAND ./testit - WORKING_DIRECTORY ${TEST_FOLDER} + WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/${TEST_FOLDER} COMMENT "Run tests" )