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.
This commit is contained in:
parent
20276191e5
commit
96d88e5614
|
@ -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}")
|
||||
|
|
Loading…
Reference in New Issue