Building the install target in Visual Studio (Intel Parallel Studio) fails because the modules end up in a subdirectory under Fortran_MODULE_DIRECTORY named after the configuration. See here.
I solved it by modifying the relevant install() command using a generator expression:
There doesn't seem to be a portable solution at the moment (see also this related issue) other than identifying the generator (e.g. using CMAKE_GENERATOR).
Building the install target in Visual Studio (Intel Parallel Studio) fails because the modules end up in a subdirectory under
Fortran_MODULE_DIRECTORY
named after the configuration. See here.I solved it by modifying the relevant
install()
command using a generator expression:There doesn't seem to be a portable solution at the moment (see also this related issue) other than identifying the generator (e.g. using
CMAKE_GENERATOR
).