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)