We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c71d12a commit fa7a757Copy full SHA for fa7a757
1 file changed
cmake/libremidi.tests.cmake
@@ -1,8 +1,12 @@
1
+if(CMAKE_VERSION VERSION_GREATER 3.25)
2
+ set(CMAKE_FETCHCONTENT_SYSTEM_KEYWORD "SYSTEM")
3
+endif()
4
+
5
FetchContent_Declare(
6
Catch2
7
GIT_REPOSITORY https://github.com/catchorg/Catch2.git
8
GIT_TAG v3.4.0
- SYSTEM
9
+ ${CMAKE_FETCHCONTENT_SYSTEM_KEYWORD}
10
)
11
12
FetchContent_MakeAvailable(Catch2)
0 commit comments