Fixed WORKING_DIR path on testit target to use project root as base

This commit is contained in:
Darrell Wright authored and Howard Hinnant committed 2017-11-26 16:56:41 -05:00
1 parent 3c4f0b5ada
commit 3a33cdca7d
1 file changed
+1 -1
+1 -1
View File
@@ -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"
)