From 4986e7bdaf4817a8b22381f5da41f03b922c26ff Mon Sep 17 00:00:00 2001 From: Lord Turmoil Date: Thu, 21 Nov 2024 20:06:07 +0800 Subject: [PATCH] fix: CMakeLists include directories --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e3c8ef2..fe6400e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,7 +14,9 @@ set(LIBRARY_BASE_PATH "${PROJECT_SOURCE_DIR}") include_directories("${LIBRARY_BASE_PATH}/include") file(GLOB_RECURSE SRC_LIST CONFIGURE_DEPENDS "${LIBRARY_BASE_PATH}/src/*.cpp") add_library(${BINARY_NAME} ${SRC_LIST}) -target_include_directories(${BINARY_NAME} PUBLIC ${INCLUDE_DIRECTORIES}) +target_include_directories(${BINARY_NAME} PUBLIC + "$" + "$") install ( TARGETS ${BINARY_NAME}