ports/math/the-algorithms-c++/Makefile
Piotr Kubaj 559697321a math/the-algorithms-c++: 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)
  CMakeLists.txt:21 (find_package)
2023-03-13 00:02:57 +00:00

23 lines
491 B
Makefile

PORTNAME= the-algorithms-c++
DISTVERSION= g20230110
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Collection of various algorithms in mathematics, physics, etc
WWW= https://thealgorithms.github.io/C-Plus-Plus/
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake gl localbase:ldflags
.if !exists(/usr/include/omp.h)
CMAKE_OFF= USE_OPENMP
.endif
USE_GL= gl glut
USE_GITHUB= yes
GH_ACCOUNT= TheAlgorithms
GH_PROJECT= C-Plus-Plus
GH_TAGNAME= e2bf654
.include <bsd.port.mk>