graphics/librtprocess: fix build without libomp
CMake Error at /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find OpenMP_CXX (missing: OpenMP_CXX_FLAGS OpenMP_CXX_LIB_NAMES) Call Stack (most recent call first): /usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) /usr/local/share/cmake/Modules/FindOpenMP.cmake:596 (find_package_handle_standard_args) src/CMakeLists.txt:4 (find_package)
This commit is contained in:
parent
b381e14648
commit
8f95972987
@ -18,4 +18,8 @@ USE_LDCONFIG= yes
|
||||
CXXFLAGS+= -DNDEBUG
|
||||
.endif
|
||||
|
||||
.if !exists(/usr/include/omp.h)
|
||||
CMAKE_ARGS+= -DOPTION_OMP:BOOL=OFF
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user