diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 695c10a39d7..b3d33e4bc5f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -305,7 +305,8 @@ install( LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}") # See https://gitlab.kitware.com/cmake/cmake/-/issues/19608 -# CMAKE_INSTALL_Fortran_MODULES is not an "official" cmake variable yet, but should be the standard soon +# CMAKE_INSTALL_Fortran_MODULES is not an "official" cmake variable yet, but +# should be the standard soon if (NOT CMAKE_INSTALL_Fortran_MODULES) set(CMAKE_INSTALL_Fortran_MODULES "${CMAKE_INSTALL_INCLUDEDIR}") endif ()