From: Daniel Arndt Date: Tue, 8 Jan 2019 20:28:47 +0000 (+0100) Subject: Require OpenMP for CUDA support X-Git-Tag: v9.1.0-rc1~459^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F7573%2Fhead;p=dealii.git Require OpenMP for CUDA support --- diff --git a/cmake/configure/configure_1_cuda.cmake b/cmake/configure/configure_1_cuda.cmake index c06a7179c8..3455a0aac5 100644 --- a/cmake/configure/configure_1_cuda.cmake +++ b/cmake/configure/configure_1_cuda.cmake @@ -103,7 +103,7 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var) ENDIF() # cuSOLVER requires OpenMP - FIND_PACKAGE(OpenMP) + FIND_PACKAGE(OpenMP REQUIRED) SET(DEAL_II_LINKER_FLAGS "${DEAL_II_LINKER_FLAGS} ${OpenMP_CXX_FLAGS}") ADD_FLAGS(DEAL_II_CUDA_FLAGS_DEBUG "-G")