From 96d88e56143b1972d9b0cd6c53c6e0cda9b62269 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 26 Sep 2022 11:51:12 +1000 Subject: CMake: remove workaround for GCC 4.5 as 9.3.1 is the minimum version The -fpermissive flag is best avoided as it suppresses some important warnings/errors. --- source/blender/io/collada/CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) (limited to 'source/blender/io') diff --git a/source/blender/io/collada/CMakeLists.txt b/source/blender/io/collada/CMakeLists.txt index 963a852a26a..43cc0642921 100644 --- a/source/blender/io/collada/CMakeLists.txt +++ b/source/blender/io/collada/CMakeLists.txt @@ -122,9 +122,4 @@ if(WITH_BUILDINFO) add_definitions(-DWITH_BUILDINFO) endif() -if(CMAKE_COMPILER_IS_GNUCXX) - # COLLADAFWArray.h gives error with gcc 4.5 - string(APPEND CMAKE_CXX_FLAGS " -fpermissive") -endif() - blender_add_lib(bf_collada "${SRC}" "${INC}" "${INC_SYS}" "${LIB}") -- cgit v1.2.3