CMake/Modules/CMakeDetermineCCompiler.cmake

6 lines
237 B
CMake
Raw Normal View History

2002-10-22 18:34:07 +04:00
# determine the compiler to use for C programs
# NOTE, a generator may set CMAKE_C_COMPILER before
# loading this file to force a compiler.
FIND_PROGRAM(CMAKE_C_COMPILER NAMES $ENV{CC} gcc cc cl bcc PATHS /bin /usr/bin /usr/local/bin )