mirror of https://github.com/CGAL/cgal
Header-only: remove -isystem in the testsuite or dev-mode
This commit is contained in:
parent
760365987c
commit
9efbeb3f3b
|
|
@ -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")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue