Skip to content

Commit

Permalink
Fix git actions on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaiser-Yang committed May 6, 2024
1 parent ead73f8 commit 329a4d0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ include(GoogleTest)

aux_source_directory(src ${PROJECT_NAME}_unit_test_SOURCE)
add_executable(${PROJECT_NAME}_unit_test ${${PROJECT_NAME}_unit_test_SOURCE})
if (WIN32)
set_tests_properties(
${PROJECT_NAME}_unit_test
PROPERTIES
ENVIRONMENT
"PATH=${PROJECT_BINARY_DIR}/build/lib")
endif()
target_link_libraries(
${PROJECT_NAME}_unit_test
PRIVATE
Expand Down

0 comments on commit 329a4d0

Please sign in to comment.