1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

graphics/luminance-qt5: fix build without libomp

CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES)
This commit is contained in:
Piotr Kubaj 2024-07-30 01:18:43 +02:00
parent 924df61105
commit 546c4b1fe5

View File

@ -41,6 +41,10 @@ HELPBROWSER_DESC= Build help browser (requires QtWebEngine)
HELPBROWSER_USE= QT=webchannel,webengine
HELPBROWSER_CMAKE_BOOL= WITH_HELPBROWSER
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.endif
.include <bsd.port.options.mk>
post-patch: