Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <campbell@blender.org>2022-09-26 04:51:12 +0300
committerCampbell Barton <campbell@blender.org>2022-09-26 04:52:21 +0300
commit96d88e56143b1972d9b0cd6c53c6e0cda9b62269 (patch)
tree72548e4cbafbd70584b262de3a9583fc48646c9e /source/blender/io
parent20276191e567539ab25b87eb8da5fc079c73f218 (diff)
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.
Diffstat (limited to 'source/blender/io')
-rw-r--r--source/blender/io/collada/CMakeLists.txt5
1 files changed, 0 insertions, 5 deletions
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}")