You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
502 B

include(functions/FetchContent_MakeAvailableExcludeFromAll)
include(FetchContent)
FetchContent_Declare(asio
URL https://github.com/diasurgical/asio/archive/bd1c839ef741b14365e77964bdd5a78994c05934.tar.gz
URL_HASH MD5=e3b470abdfe4d95e9472239902cf7a65
)
FetchContent_MakeAvailableExcludeFromAll(asio)
add_library(asio INTERFACE)
target_include_directories(asio INTERFACE ${asio_SOURCE_DIR}/asio/include)
if(NINTENDO_3DS OR NINTENDO_SWITCH)
include(asio_defs REQUIRED)
endif()