mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-10-15 03:48:07 +00:00
rename gcc to gnu
This commit is contained in:
11
cmake/toolchains/linux-gnu.cmake
Normal file
11
cmake/toolchains/linux-gnu.cmake
Normal file
@@ -0,0 +1,11 @@
|
||||
# Try and find a gcc/g++ install
|
||||
find_program(GNU_C_COMPILER gcc REQUIRED)
|
||||
find_program(GNU_CXX_COMPILER g++ REQUIRED)
|
||||
|
||||
# Debug messages
|
||||
message("GNU_C_COMPILER = ${GNU_C_COMPILER}")
|
||||
message("GNU_CXX_COMPILER = ${GNU_C_COMPILER}")
|
||||
|
||||
# Set compilers to clang
|
||||
set(CMAKE_C_COMPILER ${GNU_C_COMPILER})
|
||||
set(CMAKE_CXX_COMPILER ${GNU_CXX_COMPILER})
|
Reference in New Issue
Block a user