We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b6da6a commit aea5807Copy full SHA for aea5807
src/mpi/CMakeLists.txt
@@ -158,7 +158,9 @@ target_link_libraries(caf_mpi_static PRIVATE ${MPI_C_LIBRARIES} ${MPI_Fortran_LI
158
159
set(CAF_SO_VERSION 0)
160
if(gfortran_compiler)
161
- if(NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0)
+ if(NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 8.0.0)
162
+ set(CAF_SO_VERSION 3)
163
+ elseif(NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 7.0.0)
164
set(CAF_SO_VERSION 2)
165
elseif(NOT CMAKE_Fortran_COMPILER_VERSION VERSION_LESS 6.0.0)
166
set(CAF_SO_VERSION 1)
0 commit comments