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

This commit is contained in:
Darrell Wright 2017-11-24 23:19:07 -05:00 committed by Howard Hinnant
parent 3c4f0b5ada
commit 3a33cdca7d

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"
)