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.
2 parents 67c6f94 + 23e7ece commit 09d6e09Copy full SHA for 09d6e09
src/mpi/CMakeLists.txt
@@ -17,6 +17,13 @@ endif()
17
18
add_library(caf_mpi mpi_caf.c ../common/caf_auxiliary.c ../extensions/opencoarrays.F90)
19
20
+set_target_properties ( caf_mpi
21
+ PROPERTIES
22
+ SOVERSION ${PROJECT_VERSION.MAJOR}.${PROJECT_VERSION.MINOR}
23
+ VERSION ${PROJECT_VERSION}
24
+ )
25
+
26
27
target_include_directories(caf_mpi PRIVATE ${MPI_C_INCLUDE_PATH})
28
if (gfortran_compiler)
29
target_compile_options(caf_mpi INTERFACE -fcoarray=lib)
@@ -26,6 +33,7 @@ include_directories(${CMAKE_BINARY_DIR}/mod)
33
34
install(TARGETS caf_mpi EXPORT OpenCoarraysTargets
35
ARCHIVE DESTINATION lib
36
+ LIBRARY DESTINATION lib
37
)
30
38
install(DIRECTORY ${CMAKE_BINARY_DIR}/mod DESTINATION .)
31
39
0 commit comments