summaryrefslogtreecommitdiffstats
path: root/FUNCTIONS
diff options
context:
space:
mode:
authorTreeve Jelbert2015-08-26 16:02:07 +0200
committerTreeve Jelbert2015-08-26 16:02:07 +0200
commit424838527423acd7dc34e4f24161c9bfe71a1db1 (patch)
tree992742ac7d047b151e9967e4abb0a8e2a85981c1 /FUNCTIONS
parente8c85d05b8e17705e9872c13eb0a0e9dabd1d0f2 (diff)
FUNCTIONS - fix cmake_build - bad SYSCONFIG - breaks plasma-workspace
Diffstat (limited to 'FUNCTIONS')
-rwxr-xr-xFUNCTIONS4
1 files changed, 2 insertions, 2 deletions
diff --git a/FUNCTIONS b/FUNCTIONS
index eb49dacc8e..5bd70bb1e4 100755
--- a/FUNCTIONS
+++ b/FUNCTIONS
@@ -556,8 +556,8 @@ cmake_build() {
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_INSTALL_MANDIR=share/man \
-DCMAKE_PREFIX_PATH=share/apps/cmake/modules \
- -DSYSCONFDIR="$INSTALL_ROOT"/etc \
- -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_SYSCONFDIR=$INSTALL_ROOT/etc \
+ -DCMAKE_BUILD_TYPE=$CM_BUILD_TYPE \
-DCMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-DCMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
$OPTS ../ &&