From 92d759503aa5859d8589c7e58422bcefd0767826 Mon Sep 17 00:00:00 2001 From: Eduardo Enrique Davila Serrano Date: Tue, 16 Jan 2024 13:54:43 +0100 Subject: [PATCH] Bug windows compilation openmp --- cmake/CREAMacro_FindAndUseLibraries.cmake | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cmake/CREAMacro_FindAndUseLibraries.cmake b/cmake/CREAMacro_FindAndUseLibraries.cmake index 59fcb7a..9a6ddbe 100644 --- a/cmake/CREAMacro_FindAndUseLibraries.cmake +++ b/cmake/CREAMacro_FindAndUseLibraries.cmake @@ -87,7 +87,11 @@ if(APPLE ) # set(OpenMP_libiomp5_LIBRARY ${OpenMP_CXX_LIB_NAMES}) endif() endif() - find_package(OpenMP REQUIRED) + +# EED 2024-16-01 +# find_package( OpenMP REQUIRED ) + find_package( OpenMP ) + if (OPENMP_FOUND) # include_directories("${OPENMP_INCLUDES}") -- 2.47.1