From d5ca040e7033ca48ad33decb0e7294b9f2cd8877 Mon Sep 17 00:00:00 2001 From: tqcq <99722391+tqcq@users.noreply.github.com> Date: Wed, 15 May 2024 17:40:27 +0800 Subject: [PATCH] fix cmake INTERFACE 'no source arguments' --- 3party/asio/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3party/asio/CMakeLists.txt b/3party/asio/CMakeLists.txt index 172a1aa..abfdf56 100644 --- a/3party/asio/CMakeLists.txt +++ b/3party/asio/CMakeLists.txt @@ -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)