diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-10-18 16:56:14 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-10-18 16:56:14 +0400 |
commit | 799fc68234bbb8731439b8ecf3f782f69b11795c (patch) | |
tree | 4bfffa1e9431d695275b80af7713421f80842d95 /CMakeLists.txt | |
parent | 6d0d688943b6f27c8069cd6e774322a7e1ee642f (diff) |
cflags, cxxflags & linkflags in buildinfo.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 39dc85cc15a..39ef55f351f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -923,7 +923,7 @@ IF((NOT WIN32) AND (NOT MSVC)) SET(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNDEBUG") SET(CMAKE_C_FLAGS_MINSIZEREL "${CMAKE_C_FLAGS_MINSIZEREL} -DNDEBUG") SET(CMAKE_C_FLAGS_RELWITHDEBINFO "${CMAKE_C_FLAGS_RELWITHDEBINFO} -DNDEBUG") -ENDIF(NOT WIN32 AND NOT MSVC) +ENDIF((NOT WIN32) AND (NOT MSVC)) IF(CMAKE_COMPILER_IS_GNUCC) SET(C_WARNINGS "${C_WARNINGS} -Wunused-parameter -Werror=declaration-after-statement -Werror=implicit-function-declaration -Werror=return-type") |