Fixed CMake for RNA, also removed the aggregate return warning for CMake
[blender.git] / CMakeLists.txt
index 50cd07820f998d04d4613f7ae2fd8a7db60b38c8..be2c9b6b950c73894f2f5c17afbb409a38df5b56 100644 (file)
@@ -198,7 +198,7 @@ IF(UNIX)
   SET(PLATFORM_LINKFLAGS "-pthread")
 
   # Better warnings
-  SET(C_WARNINGS "-Wall -Wno-char-subscripts -Wpointer-arith -Wcast-align -Waggregate-return -Wnested-externs -Wdeclaration-after-statement")
+  SET(C_WARNINGS "-Wall -Wno-char-subscripts -Wpointer-arith -Wcast-align -Wnested-externs -Wdeclaration-after-statement")
 
   INCLUDE_DIRECTORIES(/usr/include /usr/local/include)
 ENDIF(UNIX)