You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using stdlib as CMake subproject is currently not possible. Attempting to include stdlib by add_subdirectory or with the FetchContent module will fail with:
❯ cmake -B _build -G Ninja -DCMAKE_INSTALL_PREFIX=$PWD/_dist
-- Retrieving stdlib from https://github.com/fortran-lang/stdlib
CMake Error at _build/_deps/stdlib-src/CMakeLists.txt:5 (include):
include could not find load file:
/home/awvwgk/projects/src/git/stdlib-cmake-example/cmake/stdlib.cmake
CMake Error at _build/_deps/stdlib-src/src/CMakeLists.txt:36 (fypp_f90):
Unknown CMake command "fypp_f90".
-- Configuring incomplete, errors occurred!
See also "/home/awvwgk/projects/src/git/stdlib-cmake-example/_build/CMakeFiles/CMakeOutput.log".
The text was updated successfully, but these errors were encountered:
Long term, I am hoping to simply let fpm generate the cmake files and we check them into the repository, and we ensure that they can be used as a cmake subproject.
Using stdlib as CMake subproject is currently not possible. Attempting to include stdlib by
add_subdirectory
or with theFetchContent
module will fail with:The text was updated successfully, but these errors were encountered: