Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
pks-t committed Sep 7, 2024
1 parent f4ae654 commit 38edfd0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,14 @@ if (NOT MSVC)
)
endif()

set(SELFTEST_BINARY_PATH $<TARGET_FILE:selftest>)

target_sources(clar_test PRIVATE
main.c
clar.c
"${CMAKE_CURRENT_BINARY_DIR}/clar.suite"
)
target_compile_definitions(clar_test PRIVATE
CLAR_FIXTURE_PATH="${CMAKE_CURRENT_SOURCE_DIR}/expected/"
SELFTEST_BINARY_PATH="${SELFTEST_BINARY_PATH}"
SELFTEST_BINARY_PATH="${CMAKE_CURRENT_BINARY_DIR}/selftest/selftest${CMAKE_EXECUTABLE_SUFFIX}"
_DARWIN_C_SOURCE
_POSIX_C_SOURCE=200809L
)
Expand Down

0 comments on commit 38edfd0

Please sign in to comment.