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)
This commit is contained in:
Piotr Kubaj 2025-01-17 18:03:52 +01:00
parent 958e11e0ad
commit e3459807e4

View File

@ -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>