diff --git a/CMakeLists.txt b/CMakeLists.txt index 4f75c16f7d9..d0cec2845e9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -262,6 +262,10 @@ if (NOT MSVC AND ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU" OR "${CMAKE_CXX_COMP add_compile_options(-Wno-deprecated-declarations) endif() + if (${CMAKE_CXX_COMPILER_ID} STREQUAL "AppleClang" AND ${CMAKE_CXX_COMPILER_VERSION} VERSION_GREATER 15) + add_compile_options(-Wno-error=enum-constexpr-conversion) + endif() + #GCC generates loads of -Wunknown-pragmas when compiling igl. The fix is not easy due to a bug in gcc, see # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66943 or # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53431 diff --git a/deps/TIFF/TIFF.cmake b/deps/TIFF/TIFF.cmake index b9c004d65b4..01d72428b97 100644 --- a/deps/TIFF/TIFF.cmake +++ b/deps/TIFF/TIFF.cmake @@ -11,6 +11,7 @@ if (APPLE) -Dwebp:BOOL=OFF -Djbig:BOOL=OFF -Dzstd:BOOL=OFF + -Dlibdeflate:BOOL=OFF -Dpixarlog:BOOL=OFF ) else()