# \#lang:c

**URL:** https://discourse.cmake.org/tag/lang-c/37.md

[Latest](https://discourse.cmake.org/latest.md) · [Categories](https://discourse.cmake.org/categories.md) · [Tags](https://discourse.cmake.org/tags.md)

---

## [FASTBuild+clang-cl combo emits warnings which Ninja+clang-cl combo doesn't emit with same everything](https://discourse.cmake.org/t/fastbuild-clang-cl-combo-emits-warnings-which-ninja-clang-cl-combo-doesnt-emit-with-same-everything/15601)

<div class="topic-metadata">

**Author:** [@SenPie](https://discourse.cmake.org/u/SenPie)\
**Replies:** 6\
**Last updated:** [April 25, 2026, 11:51pm UTC](https://discourse.cmake.org/t/fastbuild-clang-cl-combo-emits-warnings-which-ninja-clang-cl-combo-doesnt-emit-with-same-everything/15601 "2026-04-25T23:51:51Z")

</div>

With the long awaited addition of FASTBuild to the list of supported generators we wanted to transition our game engine from Ninja+clang-cl setup to FASTBuild+clang-cl setup to leverage that sweet distributed compilation…

---

## [No CMAKE\_C\_COMPILER could be found. No CMAKE\_CXX\_COMPILER could be found.](https://discourse.cmake.org/t/no-cmake-c-compiler-could-be-found-no-cmake-cxx-compiler-could-be-found/3948)

<div class="topic-metadata">

**Author:** [@rco](https://discourse.cmake.org/u/rco)\
**Replies:** 65\
**Last updated:** [August 19, 2025, 8:54pm UTC](https://discourse.cmake.org/t/no-cmake-c-compiler-could-be-found-no-cmake-cxx-compiler-could-be-found/3948 "2025-08-19T20:54:19Z")

</div>

Hi, Long story short, I’ve been struggling with a project in both VS2017 and VS2019, with both CMake 3.18 and CMake 3.21.1. In VS2019, in the CMakeSettings.json file… If i set CMake generator to “Visual Studio 16 201…

---

## [Linking against non versioned or major library](https://discourse.cmake.org/t/linking-against-non-versioned-or-major-library/3931)

<div class="topic-metadata">

**Author:** [@emiliogq](https://discourse.cmake.org/u/emiliogq)\
**Replies:** 11\
**Last updated:** [August 13, 2021, 3:21pm UTC](https://discourse.cmake.org/t/linking-against-non-versioned-or-major-library/3931 "2021-08-13T15:21:30Z")

</div>

Hello, I am trying to compile a cpp code which has some external library calls (libnova) among others. That lib is found using the find\_library call: find\_library(NOVA\_LIBRARIES NAMES nova PATHS ${NOVA\_ROOT} ENV …

---

## [No CMAKE\_Fortran\_COMPILER could be found.](https://discourse.cmake.org/t/no-cmake-fortran-compiler-could-be-found/3720)

<div class="topic-metadata">

**Author:** [@roslyn.parker](https://discourse.cmake.org/u/roslyn.parker)\
**Replies:** 2\
**Last updated:** [July 9, 2021, 8:07pm UTC](https://discourse.cmake.org/t/no-cmake-fortran-compiler-could-be-found/3720 "2021-07-09T20:07:24Z")

</div>

I have been getting this error from my cmake-gui window when compiling my C++/Fortran based project. The Fortran compiler identification is unknown CMake Error at Lib/Fast\_Table/CMakeLists.txt:2 (project): No CMAKE\_Fo…

---

## [Preserving options with spaces in add\_compile\_options](https://discourse.cmake.org/t/preserving-options-with-spaces-in-add-compile-options/1551)

<div class="topic-metadata">

**Author:** [@kvrigor](https://discourse.cmake.org/u/kvrigor)\
**Replies:** 9\
**Last updated:** [March 24, 2021, 9:17pm UTC](https://discourse.cmake.org/t/preserving-options-with-spaces-in-add-compile-options/1551 "2021-03-24T21:17:09Z")

</div>

Hello, I have a CMake project with several targets and I wish to set global compile options through add\_compile\_options . These are the flags that I need to set: ifort icc -qno-opt-dynamic-align -qno-opt-dynami…
