devel/libflatarray: fix build without libomp
CMake Error at /usr/local/share/cmake/Modules/FindOpenMP.cmake:261 (try_compile): Failed to generate test project build system. Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindOpenMP.cmake:537 (_OPENMP_GET_FLAGS) examples/CMakeLists.txt:1 (find_package)
This commit is contained in:
parent
a637a84627
commit
df2813dc3a
1 changed files with 6 additions and 1 deletions
|
@ -15,7 +15,12 @@ BROKEN_armv7= test/estimate_optimum_short_vec_type_test.cpp:71:22: error: redefi
|
|||
|
||||
BUILD_DEPENDS= boost-libs>=1.48:devel/boost-libs
|
||||
|
||||
USES= cmake compiler:c++14-lang
|
||||
USES= cmake
|
||||
.if !exists(/usr/include/omp.h)
|
||||
USES+= compiler:gcc-c++11-lib
|
||||
.else
|
||||
USES+= compiler:c++14-lang
|
||||
.endif
|
||||
|
||||
CMAKE_ARGS= -DWITH_CUDA:BOOL=FALSE
|
||||
|
||||
|
|
Loading…
Reference in a new issue