sled/3party/asio/CMakeLists.txt
tqcq d5ca040e70
Some checks failed
linux-mips64-gcc / linux-gcc-mips64el (Release) (push) Successful in 2m6s
linux-mips64-gcc / linux-gcc-mips64el (Debug) (push) Successful in 2m24s
linux-arm-gcc / linux-gcc-armhf (push) Successful in 2m43s
linux-x64-gcc / linux-gcc (Debug) (push) Successful in 2m53s
linux-aarch64-cpu-gcc / linux-gcc-aarch64 (push) Has been cancelled
linux-x64-gcc / linux-gcc (Release) (push) Has been cancelled
fix cmake INTERFACE 'no source arguments'
2024-05-15 17:40:27 +08:00

7 lines
251 B
CMake

cmake_minimum_required(VERSION 3.10)
project(asio LANGUAGES C CXX VERSION 1.30.2)
add_library(asio INTERFACE)
target_include_directories(asio INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_compile_definitions(asio INTERFACE -DASIO_STANDALONE)