Set LAS as system headers to skip warnings in testsuite

This commit is contained in:
Maxime Gimeno 2021-01-11 09:55:30 +01:00
parent 5d2ad68148
commit 232327c81c
1 changed files with 1 additions and 0 deletions

View File

@ -3,5 +3,6 @@ if(LASLIB_FOUND AND NOT TARGET CGAL::LASLIB_support)
set_target_properties(CGAL::LASLIB_support PROPERTIES
INTERFACE_COMPILE_DEFINITIONS "CGAL_LINKED_WITH_LASLIB"
INTERFACE_INCLUDE_DIRECTORIES "${LASLIB_INCLUDE_DIR};${LASZIP_INCLUDE_DIR}"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${LASLIB_INCLUDE_DIR};${LASZIP_INCLUDE_DIR}"
INTERFACE_LINK_LIBRARIES "${LASLIB_LIBRARIES}")
endif()