using cmake to build project and submodules
This commit is contained in:
14
RpiLedBars/backend/libs/CMakeLists.txt
Normal file
14
RpiLedBars/backend/libs/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
include(FetchContent)
|
||||
|
||||
FetchContent_Declare(
|
||||
logc
|
||||
GIT_REPOSITORY "https://github.com/Tropicananass/log.c.git"
|
||||
)
|
||||
|
||||
FetchContent_Declare(
|
||||
ws
|
||||
GIT_REPOSITORY "https://github.com/Tropicananass/wsServer.git"
|
||||
)
|
||||
|
||||
# add the log.c and ws libraries
|
||||
FetchContent_MakeAvailable(logc ws)
|
Reference in New Issue
Block a user