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 1b0627a + a1b55ee commit ffd4f8eCopy full SHA for ffd4f8e
src/mpi/CMakeLists.txt
@@ -81,8 +81,8 @@ install(
81
)
82
file(READ ${CMAKE_CURRENT_SOURCE_DIR}/../extensions/caf-head CAF_HEADER)
83
file(WRITE "${compiler_wrapper}" "${CAF_HEADER}\n")
84
-file(APPEND "${compiler_wrapper}" "caf_mod_dir=\"${CMAKE_INSTALL_INCLUDEDIR}/mod\"\n")
85
-file(APPEND "${compiler_wrapper}" "caf_lib_dir=\"${CMAKE_INSTALL_LIBDIR}\"\n")
+file(APPEND "${compiler_wrapper}" "caf_mod_dir=\"${CMAKE_INSTALL_FULL_INCLUDEDIR}/mod\"\n")
+file(APPEND "${compiler_wrapper}" "caf_lib_dir=\"${CMAKE_INSTALL_FULL_LIBDIR}\"\n")
86
file(APPEND "${compiler_wrapper}" "caf_version=${PROJECT_VERSION}\n")
87
if(gfortran_compiler)
88
file(APPEND "${compiler_wrapper}" "link_args='-fcoarray=lib -lcaf_mpi'\n")
0 commit comments