Fixed CMake for RNA, also removed the aggregate return warning for CMake

This commit is contained in:
Nicholas Bishop
2009-02-04 18:25:41 +00:00
parent b4e914ce12
commit edab22d9ee
2 changed files with 1 additions and 2 deletions

View 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)