From bfc923f3680a92a54ea00ab5cad61c4de7ad311b Mon Sep 17 00:00:00 2001 From: Cristian Cadar Date: Fri, 24 Oct 2025 19:15:51 +0100 Subject: [PATCH] The target's INTERFACE_INCLUDE_DIRECTORIES should not contain a path that points into the source tree. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index bbb153e642..0435636faa 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -94,7 +94,7 @@ if(ABC_USE_NAMESPACE) endif() function(abc_properties target visibility) - target_include_directories(${target} ${visibility} ${CMAKE_CURRENT_SOURCE_DIR}/src ) + target_include_directories(${target} ${visibility} $ $ ) target_compile_options_filtered(${target} ${visibility} ${ABC_CFLAGS} ${ABC_CXXFLAGS} -Wno-unused-but-set-variable ) target_link_libraries(${target} ${visibility} ${ABC_LIBS}) endfunction()