mirror of
https://github.com/ToruNiina/toml11.git
synced 2025-01-11 18:00:06 +00:00
Do not assume the project is built in a build
folder
This commit is contained in:
parent
28a00c76d0
commit
fdd2a7a640
@ -31,5 +31,5 @@ foreach(TEST_NAME ${TEST_NAMES})
|
||||
add_executable(${TEST_NAME} ${TEST_NAME}.cpp)
|
||||
target_link_libraries(${TEST_NAME} ${Boost_UNIT_TEST_FRAMEWORK_LIBRARY})
|
||||
target_include_directories(${TEST_NAME} PRIVATE ${Boost_INCLUDE_DIRS})
|
||||
add_test(NAME ${TEST_NAME} COMMAND ${TEST_NAME} WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/build)
|
||||
add_test(NAME ${TEST_NAME} COMMAND ${TEST_NAME} WORKING_DIRECTORY ${PROJECT_BINARY_DIR})
|
||||
endforeach(TEST_NAME)
|
||||
|
Loading…
Reference in New Issue
Block a user