fix cmake INTERFACE 'no source arguments'
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

This commit is contained in:
tqcq 2024-05-15 17:40:27 +08:00
parent 302b944081
commit d5ca040e70

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.10)
project(asio LANGUAGES C CXX VERSION 1.30.2)
add_library(asio INTERFACE "")
add_library(asio INTERFACE)
target_include_directories(asio INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_compile_definitions(asio INTERFACE -DASIO_STANDALONE)