mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-29 05:38:00 +00:00
misc/lightgbm: fix build without libomp by disabling OpenMP there
This commit is contained in:
parent
f4164e0811
commit
c1efc7b023
@ -26,6 +26,10 @@ CMAKE_TESTING_TARGET=
|
||||
|
||||
CXXFLAGS+= -I${LOCALBASE}/include/eigen3
|
||||
|
||||
.if !exists(/usr/include/omp.h)
|
||||
CMAKE_ARGS+= -DUSE_OPENMP:BOOL=OFF
|
||||
.endif
|
||||
|
||||
post-test:
|
||||
@${WRKSRC}/testlightgbm
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user