summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrey Christoforo2018-10-15 21:59:55 +0100
committerGrey Christoforo2018-10-15 21:59:55 +0100
commit06f9e731695fce4852822074901fb09e9bdd642b (patch)
tree9448057e43c93daa31cb9ea27e484bc08c8c2955
parent86c646acb3afa7e39a9e6b1f8e7b7a63f01a163d (diff)
downloadaur-06f9e731695fce4852822074901fb09e9bdd642b.tar.gz
fix build
-rw-r--r--PKGBUILD17
1 files changed, 11 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4eab6bcb507..7de602b31eb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,12 +21,17 @@ build() {
cd "${srcdir}/${_github_project}-${_pkgver}"
mkdir -p build
cd build
- cmake .. -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DUSE_WX_GRAPHICS_CONTEXT=OFF \
- -DUSE_WX_OVERLAY=OFF \
- -DKICAD_SCRIPTING_WXPYTHON=OFF
+ cmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DKICAD_USE_OCE=OFF \
+ -DKICAD_USE_OCC=ON \
+ -DOCE_DIR=`dirname $(pacman -Ql oce | grep OCEConfig.cmake | awk '{ print $2 }' )` \
+ -DBUILD_GITHUB_PLUGIN=ON \
+ -DKICAD_SCRIPTING=ON \
+ -DKICAD_SCRIPTING_MODULES=ON \
+ -DKICAD_SCRIPTING_WXPYTHON=OFF \
+ -DKICAD_SCRIPTING_ACTION_MENU=ON
make
}