From: Eduardo Enrique Davila Serrano Date: Tue, 16 Jan 2024 12:54:43 +0000 (+0100) Subject: Bug windows compilation openmp X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=92d759503aa5859d8589c7e58422bcefd0767826;p=crea.git Bug windows compilation openmp --- 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}")