[cmake] Fix syntax error

This commit is contained in:
Marc Sarraute 2024-02-22 17:00:09 +01:00
parent 3797a33b79
commit eb5ea80a5b
1 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ if(ABINIT_ENABLE_MPI_INTERFACES_BUGFIX STREQUAL "AUTO")
try_compile(MPI_NOT_BUGGY ${CMAKE_BINARY_DIR}/try_compile ${CMAKE_SOURCE_DIR}/cmake/try_compile/have_mpi_inplace_buggy.F90
LINK_LIBRARIES MPI::MPI_Fortran)
if(NOT MPI_NOT_BUGGY)
ABINIT_ENABLE_MPI_INTERFACES_BUGFIX = "yes"
set(ABINIT_ENABLE_MPI_INTERFACES_BUGFIX,ON)
endif()
endif()
if(ABINIT_ENABLE_MPI_INTERFACES_BUGFIX)
@ -79,7 +79,7 @@ if(ABINIT_ENABLE_MPI_INPLACE STREQUAL "AUTO")
try_compile(ABINIT_ENABLE_MPI_INPLACE ${CMAKE_BINARY_DIR}/try_compile ${CMAKE_SOURCE_DIR}/cmake/try_compile/have_mpi_inplace.F90
LINK_LIBRARIES MPI::MPI_Fortran)
else()
ABINIT_ENABLE_MPI_INPLACE = "no"
set(ABINIT_ENABLE_MPI_INPLACE,OFF)
endif()
endif()
if(ABINIT_ENABLE_MPI_INPLACE)