cmake: drop global INCLUDE_DIRECTORIES variable

It doesn't seem to be used anywhere and using this wide include might hide issues if some include actually doesn't reach some target.
This commit is contained in:
Andrej730
2026-09-15 10:44:07 +05:00
parent 5bc2cd058a
commit 76f668117a
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -489,7 +489,7 @@ else()
endif()
endif(MSVC)
include_directories(${INCLUDE_DIRECTORIES}
include_directories(
${Boost_INCLUDE_DIRS}
${CGAL_INCLUDE_DIR} ${GMP_INCLUDE_DIR} ${MPFR_INCLUDE_DIR}
)
-1
View File
@@ -35,7 +35,6 @@ if(HAS_MAX)
message(STATUS "Building IFCMax library for Autodesk 3ds Max SDK ${max_year}")
include_directories(
${INCLUDE_DIRECTORIES}
${OPENCOLLADA_INCLUDE_DIRS}
${ICU_INCLUDE_DIR}
${Boost_INCLUDE_DIRS}