install issue (without Fortran)
Created by: germasch
I'm building adios2 with ninja (though I don't think that's related).
When I do ninja install
(should be same as make install
for most users):
[... installs stuff fine]
Configuring adios2-config dummy CMake project
[...]
-- Checking whether /opt/local/bin/gfortran supports Fortran 90
-- Checking whether /opt/local/bin/gfortran supports Fortran 90 -- yes
-- Configuring done
CMake Error at CMakeLists.txt:31 (add_executable):
Target "with_Fortran" links to target "adios2::adios2_f" but the target was
not found. Perhaps a find_package() call is missing for an IMPORTED
target, or an ALIAS target is missing?
I suppose that is because I'm building adios2 without fortran support:
Features:
Library Type: shared
Build Type: Release
Testing: ON
Build Options:
BZip2 : ON
ZFP : OFF
SZ : OFF
MGARD : OFF
MPI : ON
DataMan : ON
WDM : ON
SST : ON
ZeroMQ : ON
HDF5 : ON
Python : ON
Fortran : OFF
SysVShMem: ON
Endian_Reverse: OFF
(I didn't tell it anything about Fortran, it came up with the OFF by itself, which is fine by me. But it'd be nice for installing to succeed in this case.)