Try to supress warnings from bundled IGL under Windows.

This commit is contained in:
tamasmeszaros 2019-06-26 13:23:08 +02:00
parent d2136ab625
commit 7e52edb88c

View File

@ -10,5 +10,5 @@ if(libigl_FOUND)
target_link_libraries(libigl INTERFACE igl::core)
else()
message(STATUS "IGL NOT found, using bundled version...")
target_include_directories(libigl INTERFACE SYSTEM ${LIBDIR}/libigl)
target_include_directories(libigl SYSTEM BEFORE INTERFACE ${LIBDIR}/libigl)
endif()