Skip to content

Commit

Permalink
fixup! SST: add MPI dataplane, MPI_DP
Browse files Browse the repository at this point in the history
  • Loading branch information
vicentebolea committed Jun 10, 2022
1 parent a224299 commit 860f312
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "Choose the type of build." FORCE)
endif()

# Force C++11 and C11
# Force C++11 and C99
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
if(NOT MSVC)
set(CMAKE_C_STANDARD 11)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED True)
endif()

Expand All @@ -116,9 +116,9 @@ else()
set(ADIOS2_CXX11_FEATURES cxx_std_11)
endif()
if(CMAKE_C_COMPILER_ID MATCHES "^(GNU|Intel|Clang|AppleClang|MSVC)$")
set(ADIOS2_C11_FEATURES c_std_11)
set(ADIOS2_C99_FEATURES c_restrict)
else()
set(ADIOS2_C11_FEATURES c_std_99)
set(ADIOS2_C99_FEATURES c_std_99)
endif()

include(CMakeDependentOption)
Expand Down

0 comments on commit 860f312

Please sign in to comment.