Skip to content

Commit 633e474

Browse files
committed
ci: try to understand why readerwriterqueue not found
1 parent dbb2406 commit 633e474

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

bindings/python/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@ project(pylibremidi)
33

44
set(LIBREMIDI_HEADER_ONLY 1)
55
set(LIBREMIDI_NEEDS_READERWRITERQUEUE 1)
6+
set(CMAKE_FIND_PACKAGE_TARGETS_GLOBAL 1)
67
add_subdirectory(../.. libremidi-src)
8+
if(NOT TARGET readerwriterqueue)
9+
message(FATAL_ERROR "readerwriterqueue not found ?")
10+
endif()
711
find_package(Python 3.8 COMPONENTS Interpreter Development.Module REQUIRED)
812

913
FetchContent_Declare(

0 commit comments

Comments
 (0)