summaryrefslogtreecommitdiff
path: root/Config
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2015-07-04 17:32:35 +0100
committerPeter Powell <petpow@saberuk.com>2015-12-31 02:39:53 +0000
commit63f865dcacf459f65b75a4269288b3090b14f956 (patch)
treea258d272d35e0f3019c0d9f1e15db54e1472a6e6 /Config
parentc56a6b03c0d5025935563625c25c6347ed90160a (diff)
Only enable CMake developer mode on debug builds.
Diffstat (limited to 'Config')
-rwxr-xr-xConfig4
1 files changed, 2 insertions, 2 deletions
diff --git a/Config b/Config
index 4102e1c3e..a6789f092 100755
--- a/Config
+++ b/Config
@@ -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