diff options
Diffstat (limited to 'Source/cmTryCompileCommand.cxx')
-rw-r--r-- | Source/cmTryCompileCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTryCompileCommand.cxx b/Source/cmTryCompileCommand.cxx index f56829a..b187182 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -135,7 +135,7 @@ int cmTryCompileCommand::CoreTryCompileCode( } std::string source = argv[2]; - cmSystemTools::e_FileFormat format = + cmSystemTools::FileFormat format = cmSystemTools::GetFileFormat( cmSystemTools::GetFilenameExtension(source).c_str()); if ( format == cmSystemTools::C_FILE_FORMAT ) |