From 57fb7f5c03ee06d8b2989e694e5042ff59c5e0c6 Mon Sep 17 00:00:00 2001 From: Marko Kabic Date: Tue, 1 Mar 2022 17:28:32 +0100 Subject: [PATCH] Added OpenMP to costaConfig. --- cmake/costaConfig.cmake.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/costaConfig.cmake.in b/cmake/costaConfig.cmake.in index 09b5304..c07a9d5 100644 --- a/cmake/costaConfig.cmake.in +++ b/cmake/costaConfig.cmake.in @@ -13,7 +13,8 @@ if(NOT TARGET costa::costa) set(MKL_ROOT "@MKL_ROOT@") set(MPI_CXX_COMPILER "@MPI_CXX_COMPILER@") - find_package(MPI) + find_package(MPI REQUIRED) + find_package(OpenMP REQUIRED) set(COSTA_SCALAPACK "@COSTA_SCALAPACK@")