Skip to content

Commit fa7a757

Browse files
committed
ci: fix for debian bookworm
1 parent c71d12a commit fa7a757

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

cmake/libremidi.tests.cmake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
if(CMAKE_VERSION VERSION_GREATER 3.25)
2+
set(CMAKE_FETCHCONTENT_SYSTEM_KEYWORD "SYSTEM")
3+
endif()
4+
15
FetchContent_Declare(
26
Catch2
37
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
48
GIT_TAG v3.4.0
5-
SYSTEM
9+
${CMAKE_FETCHCONTENT_SYSTEM_KEYWORD}
610
)
711

812
FetchContent_MakeAvailable(Catch2)

0 commit comments

Comments
 (0)