clang/gcc/cmake: [skip ci] suppress deprecated-copy warnings for OpenInventor class SbMatrix
This commit is contained in:
@@ -170,6 +170,13 @@ SET(MeshGuiIcon_SVG
|
||||
Resources/icons/MeshWorkbench.svg
|
||||
)
|
||||
|
||||
# Suppress this warning for the SbMatrix class
|
||||
if (EIGEN3_NO_DEPRECATED_COPY)
|
||||
set_source_files_properties(
|
||||
SoFCIndexedFaceSet.cpp
|
||||
PROPERTIES COMPILE_FLAGS ${EIGEN3_NO_DEPRECATED_COPY})
|
||||
endif ()
|
||||
|
||||
add_library(MeshGui SHARED ${MeshGui_SRCS} ${MeshGuiIcon_SVG})
|
||||
target_link_libraries(MeshGui ${MeshGui_LIBS})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user