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 )
|
2002-10-22 23:04:52 +04:00
|
|
|
|
|
|
|
|
|
|
|
# to check for is gnu we need to compile this:
|
|
|
|
# #ifdef __GNUC__
|
|
|
|
# yes;
|
|
|
|
# #endif
|