From 21376c9744dc0254b634cf8df23ea382c3e9fb55 Mon Sep 17 00:00:00 2001 From: Yu SuiXian <47711102+GengGode@users.noreply.github.com> Date: Mon, 18 Mar 2024 22:41:08 +0800 Subject: [PATCH] =?UTF-8?q?Update:=20=E8=B0=83=E6=95=B4target=E7=9A=84incl?= =?UTF-8?q?ude=E6=96=B9=E5=BC=8F=20(#52)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b98b506..ab09772 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,6 @@ cmake_minimum_required(VERSION 3.14) project(meojson CXX) -include_directories(./include) - option(BUILD_SAMPLE "Build sample in sample/sample.cpp" ON) option(BUILD_BENCHMARK "Build benchmark in benchmark/benchmark.cpp" OFF) option(ENABLE_NEON "Enable ARM NEON" OFF) @@ -29,6 +27,7 @@ file(GLOB_RECURSE json_headers ) add_library(meojson INTERFACE ${json_headers}) +target_include_directories(meojson INTERFACE include) if (BUILD_SAMPLE) file(GLOB sample_src