diff --git a/src/ysclass/src/CMakeLists.txt b/src/ysclass/src/CMakeLists.txt index 63f5c1b..cacfca4 100644 --- a/src/ysclass/src/CMakeLists.txt +++ b/src/ysclass/src/CMakeLists.txt @@ -274,4 +274,4 @@ yscommandline.h ) add_library(ysclass ${SRCS} ${HEADERS}) -target_link_libraries(ysclass PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}) +target_include_directories(ysclass PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})