From cbf9eb20c66a62fa71711f78e4d8026851f22d4d Mon Sep 17 00:00:00 2001 From: wchang kim Date: Tue, 11 Jun 2024 07:23:36 +0900 Subject: Fixed the build error for gcc-14 Change-Id: Id775e0a86fd013b8f4697e0e1c41e6febfefff3c --- 3rdparty/assimp/assimp.cmake | 2 ++ 1 file changed, 2 insertions(+) diff --git a/3rdparty/assimp/assimp.cmake b/3rdparty/assimp/assimp.cmake index 445f363d..fc5b685e 100644 --- a/3rdparty/assimp/assimp.cmake +++ b/3rdparty/assimp/assimp.cmake @@ -6,6 +6,8 @@ else() set(lib_name assimp) endif() +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-maybe-uninitialized") + # IntelLLVM (SYCL) compiler defaults to fast math, causing NaN comparison code # compilation error. if(CMAKE_CXX_COMPILER_ID MATCHES "IntelLLVM") -- cgit v1.2.3