From 4881e084a8bb3481414778e9e8b06dffe2f89d38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Br=C3=BCbach?= Date: Sat, 4 Oct 2025 23:54:25 +0200 Subject: [PATCH] Add the subdirectory to the wrapper so it gets processed. Took 5 minutes --- libs/protocol/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/protocol/CMakeLists.txt b/libs/protocol/CMakeLists.txt index fe162a07a..bec89b127 100644 --- a/libs/protocol/CMakeLists.txt +++ b/libs/protocol/CMakeLists.txt @@ -1,4 +1,7 @@ # Top-level wrapper for the protobuf library + +add_subdirectory(pb) + add_library(cockatrice_protocol_wrapper STATIC # Optionally, you can add a dummy source if needed ) @@ -10,5 +13,5 @@ target_link_libraries(cockatrice_protocol_wrapper # Expose the pb/ folder so consumers can do #include "pb/header.pb.h" target_include_directories(cockatrice_protocol_wrapper - PUBLIC ${CMAKE_BINARY_DIR} # points to the generated headers + PUBLIC ${CMAKE_BINARY_DIR} # points to the generated headers )