From 77d7e6a764011a3b6dc13afbf7b26be39cb56dbd Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 14 Oct 2018 11:33:32 +0200 Subject: Update CMakeLists option names --- linux/makepkg/PKGBUILD | 22 +++++++--------------- 1 file changed, 7 insertions(+), 15 deletions(-) (limited to 'linux/makepkg') diff --git a/linux/makepkg/PKGBUILD b/linux/makepkg/PKGBUILD index cac761b..240f711 100644 --- a/linux/makepkg/PKGBUILD +++ b/linux/makepkg/PKGBUILD @@ -53,25 +53,17 @@ pkgver() { build() { # generate makefile - - # option default - # -DQtDeprecatedWarnings On - # -DUseLibCpp Off - # -DTests Off - # -DPlasma Off - # -DBreakpad Off If you turn it on, add a breakpad - # dependancy to makedepends, or modify - # 3rd-pary/breakpad/CMakeLists.txt - # accordingly. - + # see doc/Building.asciidoc for list of options cmake -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=$pkgdir/usr/local \ - -DVerTag=$_tag \ - -DVerDescribe=$_describe \ - -DVerCommit=$_commit \ - -DVerBranch=$_branch \ + -Dpoi_Version="$_tag" \ + -Dpoi_Describe="$pkgver" \ + -Dpoi_Build="$_branch:$_commit" \ $srcdir/smolbote + # if you want to manually customize the build, you can use ccmake here + ccmake . + # Build make } -- cgit v1.2.1