Add include files search path.

This commit is contained in:
luocai 2023-12-25 16:31:42 +08:00
parent 43dab30597
commit a2d1d4464f
2 changed files with 5 additions and 2 deletions

View File

@ -14,8 +14,11 @@ add_library(Universal
StringUtility.h StringUtility.cpp StringUtility.h StringUtility.cpp
) )
cmake_path(GET CMAKE_CURRENT_SOURCE_DIR PARENT_PATH KYLIN_CORE_INCLUDE_PATH)
target_include_directories(Universal target_include_directories(Universal
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
INTERFACE ${KYLIN_CORE_INCLUDE_PATH}
) )
target_link_libraries(Universal target_link_libraries(Universal

View File

@ -1,5 +1,5 @@
#ifndef SINGLETON_H #ifndef CORE_SINGLETON_H
#define SINGLETON_H #define CORE_SINGLETON_H
#include "BoostLog.h" #include "BoostLog.h"
#include <boost/assert.hpp> #include <boost/assert.hpp>