summaryrefslogtreecommitdiff
path: root/Config
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2015-12-30 21:06:25 -0600
committerAdam <adam@sigterm.info>2015-12-30 21:06:25 -0600
commit01644e13703f1bed42bcf1497be3c6b43b186ad6 (patch)
tree4fba1a0cde055a6aa4ca131ef823f3a587f1f048 /Config
parentc56a6b03c0d5025935563625c25c6347ed90160a (diff)
parent71c2a0a675c7767ff69cc243849da7eb64fe88d7 (diff)
Merge pull request #139 from SaberUK/master+cmake-cleanup
Clean up the build system, part 1.
Diffstat (limited to 'Config')
-rwxr-xr-xConfig6
1 files changed, 3 insertions, 3 deletions
diff --git a/Config b/Config
index 4102e1c3e..eceb228ad 100755
--- a/Config
+++ b/Config
@@ -44,7 +44,7 @@ Run_Build_System () {
EXTRA_LIBS=""
if [ "$INSTDIR" != "" ] ; then
- WITH_INST="-DINSTDIR:STRING=$INSTDIR"
+ WITH_INST="-DCMAKE_INSTALL_PREFIX:STRING=$INSTDIR"
fi
if [ "$RUNGROUP" != "" ] ; then
@@ -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