mirror of https://git.FreeBSD.org/ports.git
math/casadi: Fix build on systems w/out OpenMP by defaulting OPENMP to OFF on such systems
This commit is contained in:
parent
cc6e9fdbaf
commit
55c81710bb
|
@ -27,9 +27,13 @@ CMAKE_OFF= WITH_DEEPBIND WITH_BUILD_BLASFEO
|
|||
CMAKE_OFF+= WITH_EXAMPLES
|
||||
|
||||
OPTIONS_DEFINE= BLASFEO BONMIN CLANG IPOPT LAPACK OPENMP QPOASES THREADS
|
||||
OPTIONS_DEFAULT= BLASFEO BONMIN IPOPT LAPACK OPENMP QPOASES THREADS
|
||||
OPTIONS_DEFAULT= BLASFEO BONMIN IPOPT LAPACK QPOASES THREADS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
.if exists(/usr/include/omp.h)
|
||||
OPTIONS_DEFAULT+= OPENMP
|
||||
.endif
|
||||
|
||||
BLASFEO_DESC= Build with BLASFEO
|
||||
BLASFEO_CMAKE_BOOL= WITH_BLASFEO
|
||||
BLASFEO_BUILD_DEPENDS= blasfeo>0:math/blasfeo
|
||||
|
|
Loading…
Reference in New Issue