diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1649d91..92d13ab 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -30,7 +30,7 @@ target_sources(clar_test PRIVATE ) target_compile_definitions(clar_test PRIVATE CLAR_FIXTURE_PATH="${CMAKE_CURRENT_SOURCE_DIR}/expected/" - SELFTEST_BINARY_PATH="${CMAKE_CURRENT_BINARY_DIR}/selftest/selftest${CMAKE_EXECUTABLE_SUFFIX}" + SELFTEST_BINARY_PATH="$" _DARWIN_C_SOURCE _POSIX_C_SOURCE=200809L )