1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

math/amgcl: 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:60 (find_package)
This commit is contained in:
Piotr Kubaj 2023-03-13 00:02:42 +00:00
parent f91e6f96c6
commit a762cf4025

View File

@ -14,6 +14,9 @@ BUILD_DEPENDS= boost-libs>0:devel/boost-libs
RUN_DEPENDS= ${PREFIX}/include/boost/property_tree/ptree.hpp:devel/boost-libs
USES= cmake
.if !exists(/usr/include/omp.h)
USES+= compiler:gcc-c++11-lib
.endif
USE_GITHUB= yes
GH_ACCOUNT= ddemidov