mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
misc/lightgbm: fix build without libomp by disabling OpenMP there
This commit is contained in:
parent
f4164e0811
commit
c1efc7b023
1 changed files with 4 additions and 0 deletions
|
@ -26,6 +26,10 @@ CMAKE_TESTING_TARGET=
|
||||||
|
|
||||||
CXXFLAGS+= -I${LOCALBASE}/include/eigen3
|
CXXFLAGS+= -I${LOCALBASE}/include/eigen3
|
||||||
|
|
||||||
|
.if !exists(/usr/include/omp.h)
|
||||||
|
CMAKE_ARGS+= -DUSE_OPENMP:BOOL=OFF
|
||||||
|
.endif
|
||||||
|
|
||||||
post-test:
|
post-test:
|
||||||
@${WRKSRC}/testlightgbm
|
@${WRKSRC}/testlightgbm
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue