Index: Makefile =================================================================== --- Makefile +++ Makefile @@ -31,10 +31,14 @@ MPI_CMAKE_BOOL= BUILD_MPI MPI_LIB_DEPENDS= libmpi.so:net/openmpi +MPI_USES= compiler:c11 OPENMP_USES= localbase -OPENMP_CMAKE_BOOL= BUILD_OMP -OPENMP_LIB_DEPENDS= libomp.so:devel/openmp +OPENMP_CMAKE_BOOL= ${OPENMP_CMAKE_BOOL_${CHOSEN_COMPILER_TYPE}} +OPENMP_CMAKE_BOOL_gcc= CMAKE_DISABLE_FIND_PACKAGE_OpenMP +OPENMP_CMAKE_BOOL_clang= BUILD_OMP +OPENMP_LIB_DEPENDS= ${OPENMP_LIB_DEPENDS_${CHOSEN_COMPILER_TYPE}} +OPENMP_LIB_DEPENDS_clang= libomp.so:devel/openmp FFMPEG_BUILD_DEPENDS= ffmpeg:multimedia/ffmpeg FFMPEG_RUN_DEPENDS= ffmpeg:multimedia/ffmpeg