opnsense-ports/audio/libremidi/files/patch-cmake_libremidi.tests.cmake
Franco Fichtner 57a0e84ffd */*: sync with upstream
Taken from: FreeBSD
2023-10-09 11:59:08 +02:00

17 lines
403 B
CMake

--- cmake/libremidi.tests.cmake.orig 2023-10-02 17:31:54 UTC
+++ cmake/libremidi.tests.cmake
@@ -1,4 +1,4 @@
-
+ if (FALSE)
include(FetchContent)
FetchContent_Declare(
@@ -8,6 +8,8 @@
)
FetchContent_MakeAvailable(Catch2)
+ endif()
+ find_package(Catch2)
if(NOT TARGET Catch2::Catch2WithMain)
message(WARNING "libremidi: Catch2::Catch2WithMain target not found")
return()