Skip to content

Commit

Permalink
Merge pull request #523 from Bktero/fix_unit_tests_workdir
Browse files Browse the repository at this point in the history
Fix WORKING_DIRECTORY for unit tests
  • Loading branch information
danielaparker committed Jun 15, 2024
2 parents 40b9985 + e79798a commit 6f4839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ target_compile_options(unit_tests PRIVATE
)
endif()

add_test(NAME unit_tests COMMAND unit_tests WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/test)
add_test(NAME unit_tests COMMAND unit_tests WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})

target_include_directories (unit_tests
PUBLIC ${JSONCONS_INCLUDE_DIR}
Expand Down

0 comments on commit 6f4839d

Please sign in to comment.