[CMake] Fortran support for ninja

Deij-van Rijswijk, Menno M.Deij at marin.nl
Wed Aug 7 14:10:17 EDT 2019


Hello,


Today I was trying to use the Ninja generator for CMake on a project containing Fortran and C++ source files. I got the error that ninja is not supported with CMake unless a special version of ninja is used that supports fortran.


I got the source for this version from https://github.com/Kitware/ninja , built it and put the resulting binary in the PATH.


I keep getting the error that ninja is not supported, and for some reason it insists that the ninja version is 1.7.2, while the version installed is 1.9.0.


How is this supposed to work? What am I doing wrong?


Thanks for your insight and taking time to help me out.


All the best,


Menno

dr. ir. Menno A. Deij-van Rijswijk | Researcher | Research & Development
MARIN | T +31 317 49 35 06 | M.Deij at marin.nl<mailto:M.Deij at marin.nl> | www.marin.nl<http://www.marin.nl>

[LinkedIn]<https://www.linkedin.com/company/marin> [YouTube] <http://www.youtube.com/marinmultimedia>  [Twitter] <https://twitter.com/MARIN_nieuws>  [Facebook] <https://www.facebook.com/marin.wageningen>
MARIN news: 25th HISWA International Symposium, November 12 & 13<http://www.marin.nl/web/News/News-items/25th-HISWA-International-Symposium-November-12-13.htm>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20190807/48b89ae7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imagecad4d1.PNG
Type: image/png
Size: 293 bytes
Desc: imagecad4d1.PNG
URL: <https://cmake.org/pipermail/cmake/attachments/20190807/48b89ae7/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image88b16c.PNG
Type: image/png
Size: 331 bytes
Desc: image88b16c.PNG
URL: <https://cmake.org/pipermail/cmake/attachments/20190807/48b89ae7/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image9c8966.PNG
Type: image/png
Size: 333 bytes
Desc: image9c8966.PNG
URL: <https://cmake.org/pipermail/cmake/attachments/20190807/48b89ae7/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: imageb2570b.PNG
Type: image/png
Size: 253 bytes
Desc: imageb2570b.PNG
URL: <https://cmake.org/pipermail/cmake/attachments/20190807/48b89ae7/attachment-0003.png>


More information about the CMake mailing list