Seems like we can find BLAS and LAPACK correctly pre-CMake 3.18 due to the missing BLAS::BLAS and LAPACK::LAPACK targets in this versions.
[ 89%] Linking Fortran executable multicharge
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: cannot find -lFALSE
/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: /opt/intel/compilers_and_libraries_2019.5.281/linux/compiler/lib/intel64_lin/libiomp5.a(ompt-general.o): in function `ompt_pre_init':
(.text+0x25f0): warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
_deps/multicharge-build/app/CMakeFiles/multicharge-exe.dir/build.make:113: recipe for target '_deps/multicharge-build/app/multicharge' failed
make[2]: *** [_deps/multicharge-build/app/multicharge] Error 1
make[2]: Leaving directory '/.../SOURCE/DFTD4'
CMakeFiles/Makefile2:1013: recipe for target '_deps/multicharge-build/app/CMakeFiles/multicharge-exe.dir/all' failed
make[1]: *** [_deps/multicharge-build/app/CMakeFiles/multicharge-exe.dir/all] Error 2
make[1]: Leaving directory '/.../SOURCE/DFTD4'
Makefile:160: recipe for target 'all' failed
make: *** [all] Error 2
make: Leaving directory '/.../SOURCE/DFTD4'
Thanks to @drmewes for reporting.
Seems like we can find BLAS and LAPACK correctly pre-CMake 3.18 due to the missing
BLAS::BLASandLAPACK::LAPACKtargets in this versions.Thanks to @drmewes for reporting.