Draco requires default visibility on gcc/clang

pull/3614/head
RichardTea 2021-01-28 10:18:12 +00:00
parent 48bcbbefdd
commit efae3b83b1
1 changed files with 4 additions and 0 deletions

View File

@ -602,6 +602,10 @@ ELSE()
"-Wno-sign-compare"
"-Wno-unused-local-typedefs"
)
# Draco 1.4.1 does not explicitly export any symbols under GCC/clang
list(APPEND DRACO_CXX_FLAGS
"-fvisibility=default"
)
ENDIF()
ADD_SUBDIRECTORY( "contrib/draco" )