git: e3459807e481 - main - graphics/luminance-qt5: fix build without libomp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 17 Jan 2025 21:47:39 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=e3459807e481c3e91e2ea7fdb190743d6e4122af commit e3459807e481c3e91e2ea7fdb190743d6e4122af Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2025-01-17 17:03:52 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2025-01-17 21:46:10 +0000 graphics/luminance-qt5: fix build without libomp CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:233 (message): Could NOT find OpenMP_C (missing: OpenMP_C_FLAGS OpenMP_C_LIB_NAMES) Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:603 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake/Modules/FindOpenMP.cmake:616 (find_package_handle_standard_args) build_files/Modules/CompilerSettings.cmake:40 (FIND_PACKAGE) CMakeLists.txt:38 (include) --- graphics/luminance-qt5/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/graphics/luminance-qt5/Makefile b/graphics/luminance-qt5/Makefile index fecc833a650b..69fee5407f08 100644 --- a/graphics/luminance-qt5/Makefile +++ b/graphics/luminance-qt5/Makefile @@ -24,8 +24,7 @@ LIB_DEPENDS= libImath.so:math/Imath \ CFLAGS+= -I${LOCALBASE}/include/Imath -USES= cmake compiler:c++14-lang desktop-file-utils \ - eigen:3 jpeg pkgconfig qt:5 tar:bzip2 +USES= cmake desktop-file-utils eigen:3 jpeg pkgconfig qt:5 tar:bzip2 USE_QT= concurrent core declarative gui location network \ printsupport sql svg widgets xml \ buildtools:build linguisttools:build qmake:build @@ -46,6 +45,8 @@ HELPBROWSER_CMAKE_BOOL= WITH_HELPBROWSER .if !exists(/usr/include/omp.h) USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++14-lang .endif .include <bsd.port.options.mk>