VeraCrypt
aboutsummaryrefslogtreecommitdiff
path: root/src/Build/build_cmake_rpm.sh
diff options
context:
space:
mode:
authorMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-05 19:19:39 +0200
committerMounir IDRASSI <mounir.idrassi@idrix.fr>2019-10-05 19:21:33 +0200
commitaf9e0f04828980ac826057ba41b5b2b4b03cc79f (patch)
tree6e81ab984971775e5f656e3e66693604c840225a /src/Build/build_cmake_rpm.sh
parent4fe4cbc56842f475ab9229144632ca8ea59cfb20 (diff)
downloadVeraCrypt-af9e0f04828980ac826057ba41b5b2b4b03cc79f.tar.gz
VeraCrypt-af9e0f04828980ac826057ba41b5b2b4b03cc79f.zip
Linux: modifications to cmake files to use GTK3 on CentOS and change packages names
Diffstat (limited to 'src/Build/build_cmake_rpm.sh')
-rwxr-xr-x[-rw-r--r--]src/Build/build_cmake_rpm.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Build/build_cmake_rpm.sh b/src/Build/build_cmake_rpm.sh
index ae9f0bfb..218d63c0 100644..100755
--- a/src/Build/build_cmake_rpm.sh
+++ b/src/Build/build_cmake_rpm.sh
@@ -23,7 +23,7 @@ echo "Building GUI version of VeraCrypt for RPM using wxWidgets static libraries
# This will be the temporary wxWidgets directory
export WX_BUILD_DIR=$PARENTDIR/wxBuildGui
-make WXSTATIC=1 wxbuild || exit 1
+make WXSTATIC=1 WITHGTK3=1 wxbuild || exit 1
make WXSTATIC=1 clean || exit 1
make WXSTATIC=1 || exit 1
make WXSTATIC=1 install DESTDIR="$PARENTDIR/VeraCrypt_Setup/GUI" || exit 1
@@ -42,7 +42,7 @@ echo "Building console version of VeraCrypt for RPM using wxWidgets static libra
# This will be the temporary wxWidgets directory
export WX_BUILD_DIR=$PARENTDIR/wxBuildConsole
-make WXSTATIC=1 NOGUI=1 wxbuild || exit 1
+make WXSTATIC=1 WITHGTK3=1 NOGUI=1 wxbuild || exit 1
make WXSTATIC=1 NOGUI=1 clean || exit 1
make WXSTATIC=1 NOGUI=1 || exit 1
make WXSTATIC=1 NOGUI=1 install DESTDIR="$PARENTDIR/VeraCrypt_Setup/Console" || exit 1
@@ -62,4 +62,4 @@ cmake -H$SCRIPTPATH -B$PARENTDIR/VeraCrypt_Packaging -DVERACRYPT_BUILD_DIR="$PAR
cpack --config $PARENTDIR/VeraCrypt_Packaging/CPackConfig.cmake || exit 1
cmake -H$SCRIPTPATH -B$PARENTDIR/VeraCrypt_Packaging -DVERACRYPT_BUILD_DIR="$PARENTDIR/VeraCrypt_Setup/Console" -DNOGUI=TRUE || exit 1
-cpack --config $PARENTDIR/VeraCrypt_Packaging/CPackConfig.cmake|| exit 1 \ No newline at end of file
+cpack --config $PARENTDIR/VeraCrypt_Packaging/CPackConfig.cmake|| exit 1