summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorFlorian Franzmann2019-09-07 23:38:22 +0200
committerFlorian Franzmann2019-09-07 23:38:22 +0200
commite83dbf8dc88a8d5c4e72e3fa7ab1b1edfc04a988 (patch)
tree7308ff968fe403612892fa5d678fe5f43ddb0925 /devel
parent21c757b240bf79399098b03da72d44b7a8736406 (diff)
devel/cppcheck: use cmake_build if building without qtbase
Diffstat (limited to 'devel')
-rwxr-xr-xdevel/cppcheck/BUILD6
-rw-r--r--devel/cppcheck/HISTORY1
2 files changed, 6 insertions, 1 deletions
diff --git a/devel/cppcheck/BUILD b/devel/cppcheck/BUILD
index e99f37ab5b..b29f8c7c07 100755
--- a/devel/cppcheck/BUILD
+++ b/devel/cppcheck/BUILD
@@ -1,2 +1,6 @@
OPTS="-DHAVE_RULES=true $OPTS" &&
-qt5_cmake_build
+if is_depends_enabled $SPELL qtbase; then
+ qt5_cmake_build
+else
+ cmake_build
+fi
diff --git a/devel/cppcheck/HISTORY b/devel/cppcheck/HISTORY
index d3e31bdda1..c7531caeeb 100644
--- a/devel/cppcheck/HISTORY
+++ b/devel/cppcheck/HISTORY
@@ -2,6 +2,7 @@
* DETAILS: version 1.89
* BUILD, DETAILS, DEPENDS: use cmake
* INSTALL: removed
+ * BUILD: use cmake_build if there is no dependency on qtbase
2019-06-30 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
* DETAILS: version 1.88