Skip to content

Commit bd404ba

Browse files
committed
update tests workdir evaluation
1 parent 117f1e6 commit bd404ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ add_executable(CoreTests ${PROJECT_SOURCE_DIR}/library/test/Tests.cpp)
55
target_link_libraries(CoreTests PRIVATE Core Catch2::Catch2WithMain)
66
target_compile_features(CoreTests PRIVATE cxx_std_17)
77
set_target_properties(CoreTests PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/Core/Tests)
8-
catch_discover_tests(CoreTests WORKING_DIRECTORY "${PROJECT_BINARY_DIR}/library")
8+
catch_discover_tests(CoreTests WORKING_DIRECTORY $<TARGET_FILE_DIR:Core>)

0 commit comments

Comments
 (0)