diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 08134de5adcdf7cb47eed769900cb6c1afb60ecb..350a051dae397f653232b2144dc5a78d4e1b5a6b 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -107,7 +107,7 @@ target_include_directories(
   PUBLIC
     # Path to the Fortran modules:
     $<BUILD_INTERFACE:$<$<COMPILE_LANGUAGE:Fortran>:${Fortran_MODULE_DIRECTORY}>>
-    $<INSTALL_INTERFACE:$<$<COMPILE_LANGUAGE:Fortran>:${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}>>
+    $<INSTALL_INTERFACE:$<$<COMPILE_LANGUAGE:Fortran>:$<INSTALL_PREFIX>/${CMAKE_INSTALL_INCLUDEDIR}>>
   INTERFACE
     # Path to the internal C/C++ headers (for testing): Requires CMake 3.15+ for
     # multiple compile languages