forked from Lainports/freebsd-ports
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:
parent
c7829a491f
commit
b8a8ec6db4
1 changed files with 7 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue