Better compiler detection on Linux (#5376)

* Better compiler detection on Linux
Moving EngineFinder.cmake to cmake/ in the templates

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* skipping detection if compiler is passed through environment

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>

* Fixes condition, needs to be in quotes since is the value of the sttring

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-11-09 11:10:03 -08:00
committed by Steve Pham
parent 6e70097ad7
commit 4e1825a3fe
13 changed files with 174 additions and 6 deletions
+14 -2
View File
@@ -181,8 +181,20 @@
"isOptional": false
},
{
"file": "EngineFinder.cmake",
"origin": "EngineFinder.cmake",
"file": "cmake/EngineFinder.cmake",
"origin": "cmake/EngineFinder.cmake",
"isTemplated": false,
"isOptional": false
},
{
"file": "cmake/CompilerSettings.cmake",
"origin": "cmake/CompilerSettings.cmake",
"isTemplated": false,
"isOptional": false
},
{
"file": "cmake/Platform/Linux/CompilerSettings.cmake",
"origin": "cmake/Platform/Linux/CompilerSettings.cmake",
"isTemplated": false,
"isOptional": false
},