Skip to content
Snippets Groups Projects
Commit 0c423645 authored by Pradipta Samanta's avatar Pradipta Samanta Committed by Yen-Chen Chen
Browse files

Fixed installation; other projects can now find module files from...

Fixed installation; other projects can now find module files from fortran-support (!95)

## What is the bug
Any projects dependent on fortran-support are not able to find the associated module files of when the fortran-support is installed in the system
## How do you fix it
`CMAKE_INSTALL_PREFIX` was not used to define `INSTALL_INTERFACE`. I corrected it now.

Approved-by: default avatarYen-Chen Chen <yen-chen.chen@kit.edu>
Merged-by: default avatarYen-Chen Chen <yen-chen.chen@kit.edu>
Changelog: bugfix
parent e84f14be
No related branches found
No related tags found
1 merge request!95Fixed installation; other projects can now find module files from fortran-support
Pipeline #81712 canceled
......@@ -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_INCLUDEDIR}>>
$<INSTALL_INTERFACE:$<$<COMPILE_LANGUAGE:Fortran>:${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR}>>
INTERFACE
# Path to the internal C/C++ headers (for testing): Requires CMake 3.15+ for
# multiple compile languages
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment