diff options
author | Peter Powell <petpow@saberuk.com> | 2015-07-04 17:32:35 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2015-12-31 02:39:53 +0000 |
commit | 63f865dcacf459f65b75a4269288b3090b14f956 (patch) | |
tree | a258d272d35e0f3019c0d9f1e15db54e1472a6e6 /Config | |
parent | c56a6b03c0d5025935563625c25c6347ed90160a (diff) |
Only enable CMake developer mode on debug builds.
Diffstat (limited to 'Config')
-rwxr-xr-x | Config | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -56,9 +56,9 @@ Run_Build_System () { fi if [ "$DEBUG" = "yes" ] ; then - BUILD_TYPE="-DCMAKE_BUILD_TYPE:STRING=DEBUG" + BUILD_TYPE="-DCMAKE_BUILD_TYPE:STRING=DEBUG -Wdev" else - BUILD_TYPE="-DCMAKE_BUILD_TYPE:STRING=RELEASE" + BUILD_TYPE="-DCMAKE_BUILD_TYPE:STRING=RELEASE -Wno-dev" fi if [ "$EXTRA_INCLUDE_DIRS" != "" ] ; then |