diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-26 21:49:04 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2004-08-26 21:49:04 (GMT) |
commit | 878609935a9e7b51139c3b7872b48c473638d0b7 (patch) | |
tree | a4306a68f7546c06e90d3f0de8a6d2433db12f27 | |
parent | ca5e9e6415685c5127050f3e9a02ce9675ee0959 (diff) | |
download | CMake-878609935a9e7b51139c3b7872b48c473638d0b7.zip CMake-878609935a9e7b51139c3b7872b48c473638d0b7.tar.gz CMake-878609935a9e7b51139c3b7872b48c473638d0b7.tar.bz2 |
ENH: try compiles in CXX require C to be enabled as well
-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 47c3bd4..e20ad7e 100644 --- a/Source/cmTryCompileCommand.cxx +++ b/Source/cmTryCompileCommand.cxx @@ -154,7 +154,7 @@ int cmTryCompileCommand::CoreTryCompileCode( } else if ( format == cmSystemTools::CXX_FILE_FORMAT ) { - fprintf(fout, "PROJECT(CMAKE_TRY_COMPILE CXX)\n"); + fprintf(fout, "PROJECT(CMAKE_TRY_COMPILE C CXX)\n"); } else if ( format == cmSystemTools::FORTRAN_FILE_FORMAT ) { |