Skip to content

Commit

Permalink
ci: Don't require spdlog in developer mode for windows
Browse files Browse the repository at this point in the history
It's already covered by linux/macOS. Less one dependency to
install on Windows
  • Loading branch information
iamsergio committed Aug 3, 2024
1 parent ed6f4f6 commit 3d730eb
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,10 @@ function(add_kddw_test test srcs)
_add_test(${test})
endif()
target_compile_definitions(${test} PRIVATE KDDW_SRC_DIR="${CMAKE_SOURCE_DIR}")
target_compile_definitions(${test} PRIVATE KDDW_HAS_SPDLOG)
if(NOT WIN32)
# we don't have spdlog in our windows CI
target_compile_definitions(${test} PRIVATE KDDW_HAS_SPDLOG)
endif()
endfunction()

add_kddw_test(tst_docks tst_docks.cpp)
Expand Down

0 comments on commit 3d730eb

Please sign in to comment.