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:
Diffstat (limited to 'source/blender/collada/CMakeLists.txt')
-rw-r--r--source/blender/collada/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/collada/CMakeLists.txt b/source/blender/collada/CMakeLists.txt
index 3a2c085335b..ce204013f3d 100644
--- a/source/blender/collada/CMakeLists.txt
+++ b/source/blender/collada/CMakeLists.txt
@@ -99,4 +99,9 @@ if(WITH_BUILDINFO)
add_definitions(-DNAN_BUILDINFO)
endif()
+if(CMAKE_COMPILER_IS_GNUCXX)
+ # COLLADAFWArray.h gives error with gcc 4.5
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fpermissive")
+endif()
+
blender_add_lib(bf_collada "${SRC}" "${INC}")