1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

science/erd: fix build without libomp

CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile):
  Failed to configure test project build system.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS)
  cmake/autocmake_omp.cmake:30 (find_package)
  CMakeLists.txt:27 (include)
This commit is contained in:
Piotr Kubaj 2023-03-13 00:02:53 +00:00
parent 63f00fcb3e
commit fa21a49844

View File

@ -12,6 +12,9 @@ LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake fortran
.if !exists(/usr/include/omp.h)
CMAKE_OFF= ENABLE_OPENMP
.endif
USE_GITHUB= yes
GH_ACCOUNT= psi4
USE_LDCONFIG= yes