ENH: use CMAKE_ROOT and not PROJECT_ for try compile stuff, this allows projects within projects to have different languages

This commit is contained in:
Bill Hoffman
2002-12-17 14:54:25 -05:00
parent 5abc8c18c0
commit bd74882d3e
15 changed files with 30 additions and 30 deletions

View File

@@ -63,5 +63,5 @@ ENDIF(CMAKE_SYSTEM_VERSION)
# configure variables set in this file for fast reload
CONFIGURE_FILE(${CMAKE_ROOT}/Modules/CMakeSystem.cmake.in
${PROJECT_BINARY_DIR}/CMakeSystem.cmake IMMEDIATE)
${CMAKE_BINARY_DIR}/CMakeSystem.cmake IMMEDIATE)