diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt index 98691d8e11..d021f833c4 100644 --- a/cmake/CMakeLists.txt +++ b/cmake/CMakeLists.txt @@ -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} ) diff --git a/src/ifcmax/CMakeLists.txt b/src/ifcmax/CMakeLists.txt index 330e4529cb..0e581e2927 100644 --- a/src/ifcmax/CMakeLists.txt +++ b/src/ifcmax/CMakeLists.txt @@ -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}