security/keepassxc: fix build without libomp

CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile):
  Failed to generate test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS)
  CMakeLists.txt:261 (find_package)
This commit is contained in:
Piotr Kubaj 2023-03-14 19:03:53 +00:00
parent c7829a491f
commit b8a8ec6db4

View file

@ -20,8 +20,13 @@ LIB_DEPENDS= libargon2.so:security/libargon2 \
libqrencode.so:graphics/libqrencode \
libbotan-2.so:security/botan2
USES= cmake compiler:c++17-lang desktop-file-utils pkgconfig qt:5 \
readline shared-mime-info tar:xz xorg
USES= cmake desktop-file-utils pkgconfig qt:5 readline \
shared-mime-info tar:xz xorg
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++17-lang
.endif
USE_QT= concurrent core dbus gui network svg widgets buildtools:build \
linguisttools:build qmake:build testlib:build x11extras
USE_XORG= x11