mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 06:22:15 -07:00
Add the subdirectory to the wrapper so it gets processed.
Took 5 minutes
This commit is contained in:
parent
1d1de904e0
commit
4881e084a8
1 changed files with 4 additions and 1 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue