1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

graphics/gmic-qt: 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:188 (find_package)
This commit is contained in:
Piotr Kubaj 2023-03-14 19:03:52 +00:00
parent c035b4ff5d
commit c7829a491f

View File

@ -25,7 +25,12 @@ FLAVOR?= ${FLAVORS:[1]}
krita_PKGNAMESUFFIX= -krita
gimp_PKGNAMESUFFIX= -gimp
USES= cmake compiler:c++14-lang pkgconfig qt:5 xorg
USES= cmake pkgconfig qt:5 xorg
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.else
USES+= compiler:c++14-lang
.endif
USE_QT= core gui network widgets \
buildtools:build linguisttools:build qmake:build
USE_XORG= ice sm x11 xext