mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 15:21:51 -04:00
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)
This commit is contained in:
parent
8d14ec26dd
commit
559697321a
1 changed files with 3 additions and 0 deletions
|
@ -10,6 +10,9 @@ 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
|
||||
|
|
Loading…
Add table
Reference in a new issue