include(FetchContent) #set(FETCHCONTENT_FULLY_DISCONNECTED ON) # set(BUILD_SHARED_LIBS off) # set(ENABLE_CJSON_TEST off) FetchContent_Declare( logc GIT_REPOSITORY "https://github.com/Tropicananass/log.c.git" ) FetchContent_Declare( ws GIT_REPOSITORY "https://github.com/Tropicananass/wsServer.git" ) # FetchContent_Declare( # cjson # GIT_REPOSITORY "https://github.com/DaveGamble/cJSON.git" # ) # add the log.c and ws libraries FetchContent_MakeAvailable(logc ws)