Skip to content

Commit

Permalink
Merge pull request #3893 from vicentebolea/find-threads-earlier
Browse files Browse the repository at this point in the history
cmake: find threads package first
(cherry picked from commit d3bac14)
  • Loading branch information
vicentebolea committed Nov 15, 2023
1 parent 83cb06a commit 5b56bf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/DetectOptions.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -544,9 +547,6 @@ if(AWSSDK_FOUND)
set(ADIOS2_HAVE_AWSSDK TRUE)
endif()

# Multithreading
find_package(Threads REQUIRED)

# Floating point detection
include(CheckTypeRepresentation)

Expand Down

0 comments on commit 5b56bf3

Please sign in to comment.