Open
Description
Describe the bug
On Linux a default build will fail because CMake selects GCC instead of Clang
To Reproduce
Steps to reproduce the behavior:
- On linux, where both GCC and Clang are installed, run
./build.sh release
Expected behavior
When clang is available, Filament should be built.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, copy full logs from your console here. Please do not
use screenshots of logs, copy them as text, use gist or attach an uncompressed file.
$ ./build.sh release
Building release in out/cmake-release...
-- The C compiler identification is GNU 14.2.0
-- The CXX compiler identification is GNU 14.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:286 (message):
Detected C compiler GNU is unsupported
-- Configuring incomplete, errors occurred!
Desktop (please complete the following information):
- OS: Linux
- GPU: n/a
- Backend: n/a
Smartphone (please complete the following information):
- Device: n/a
- OS: n/a
Additional context
Add any other context about the problem here.