diff --git a/cmake/DetectOptions.cmake b/cmake/DetectOptions.cmake index 3f511e02a8..615995b713 100644 --- a/cmake/DetectOptions.cmake +++ b/cmake/DetectOptions.cmake @@ -67,6 +67,9 @@ function(lists_get_prefix listVars outVar) set(${outVar} "${prefix}" PARENT_SCOPE) endfunction() +# Multithreading +find_package(Threads REQUIRED) + # Blosc2 if(ADIOS2_USE_Blosc2 STREQUAL AUTO) # Prefect CONFIG mode @@ -554,9 +557,6 @@ if(AWSSDK_FOUND) set(ADIOS2_HAVE_AWSSDK TRUE) endif() -# Multithreading -find_package(Threads REQUIRED) - # Floating point detection include(CheckTypeRepresentation)