git: 546c4b1fe5d1 - main - graphics/luminance-qt5: fix build without libomp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 04 Aug 2024 12:01:06 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=546c4b1fe5d1f180b21233d86e4b2c90be1b6604 commit 546c4b1fe5d1f180b21233d86e4b2c90be1b6604 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-07-29 23:18:43 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-08-04 12:00:19 +0000 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) --- graphics/luminance-qt5/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index cfb37c6f29d9..6a79cfa0728d 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -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: