diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-17 19:54:25 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-12-17 19:54:25 (GMT) |
commit | bd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2 (patch) | |
tree | d88004c142250964ce50a697fa9bbb9ec09ee57a /Modules/CMakeDetermineCXXCompiler.cmake | |
parent | 5abc8c18c08f2057ef2b9962757bab10b751e740 (diff) | |
download | CMake-bd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2.zip CMake-bd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2.tar.gz CMake-bd74882d3e0e4e5fe6c9353fa8b6f28a3adec9c2.tar.bz2 |
ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages
Diffstat (limited to 'Modules/CMakeDetermineCXXCompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCXXCompiler.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCXXCompiler.cmake b/Modules/CMakeDetermineCXXCompiler.cmake index 05c095e..d4ddae4 100644 --- a/Modules/CMakeDetermineCXXCompiler.cmake +++ b/Modules/CMakeDetermineCXXCompiler.cmake @@ -48,5 +48,5 @@ ENDIF(NOT CMAKE_COMPILER_RETURN) # configure all variables set in this file CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeCXXCompiler.cmake.in - ${PROJECT_BINARY_DIR}/CMakeCXXCompiler.cmake IMMEDIATE) + ${CMAKE_BINARY_DIR}/CMakeCXXCompiler.cmake IMMEDIATE) MARK_AS_ADVANCED(CMAKE_CXX_COMPILER_FULLPATH) |