Header-only: remove -isystem in the testsuite or dev-mode

This commit is contained in:
Laurent Rineau 2019-08-14 13:50:19 +02:00
parent 760365987c
commit 9efbeb3f3b
1 changed files with 5 additions and 0 deletions

View File

@ -166,4 +166,9 @@ cgal_parse_version_h( "${CGAL_INSTALLATION_PACKAGE_DIR}/include/CGAL/version.h"
"CGAL_BUILD_VERSION") "CGAL_BUILD_VERSION")
set(CGAL_VERSION "${CGAL_MAJOR_VERSION}.${CGAL_MINOR_VERSION}.${CGAL_BUGFIX_VERSION}.${CGAL_BUILD_VERSION}") set(CGAL_VERSION "${CGAL_MAJOR_VERSION}.${CGAL_MINOR_VERSION}.${CGAL_BUGFIX_VERSION}.${CGAL_BUILD_VERSION}")
if( CGAL_DEV_MODE OR RUNNING_CGAL_AUTO_TEST )
# Do not use -isystem for CGAL include paths
set(CMAKE_NO_SYSTEM_FROM_IMPORTED TRUE)
endif()
include("${CGAL_MODULES_DIR}/CGAL_enable_end_of_configuration_hook.cmake") include("${CGAL_MODULES_DIR}/CGAL_enable_end_of_configuration_hook.cmake")