From 16715218dd1d144d01b8c7a46def95bbd9ec8d56 Mon Sep 17 00:00:00 2001 From: Patrick Kappl Date: Thu, 11 Jan 2024 13:26:32 +0100 Subject: [PATCH] Add public include directories only when in build tree --- sdk_core/CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk_core/CMakeLists.txt b/sdk_core/CMakeLists.txt index 8679e71..4f66366 100644 --- a/sdk_core/CMakeLists.txt +++ b/sdk_core/CMakeLists.txt @@ -12,10 +12,10 @@ set(LIVOX_SDK_VERSION_STRING "${LIVOX_SDK_MAJOR_VERSION}.${LIVOX_SDK_MINOR_VERSI target_include_directories(${SDK_LIBRARY} PUBLIC - include - include/third_party/FastCRC - include/third_party/spdlog - include/third_party/cmdline + "$" + "$" + "$" + "$" PRIVATE src)