Sink {config.h,ConfigureChecks}.cmake into cmake directory.

llvm-svn: 93318
This commit is contained in:
Daniel Dunbar 2010-01-13 16:12:49 +00:00
parent 2e06b93f43
commit debb79b994
3 changed files with 4 additions and 3 deletions

View File

@ -19,8 +19,9 @@ MACRO_ENSURE_OUT_OF_SOURCE_BUILD(
"${PROJECT_NAME} requires an out of source build. Please create a separate build directory and run 'cmake /path/to/${PROJECT_NAME} [options]' there."
)
INCLUDE( ConfigureChecks.cmake )
CONFIGURE_FILE( config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h )
INCLUDE( ${CMAKE_SOURCE_DIR}/cmake/ConfigureChecks.cmake )
CONFIGURE_FILE( ${CMAKE_SOURCE_DIR}/cmake/config.h.cmake
${CMAKE_CURRENT_BINARY_DIR}/config.h )
INCLUDE_DIRECTORIES(
${CMAKE_CURRENT_BINARY_DIR}
@ -46,7 +47,7 @@ IF( BUILD_BLOCKS_RUNTIME )
ELSE( BUILD_BLOCKS_RUNTIME )
MESSAGE(STATUS "No suitable atomic operation routines detected, skipping Blocks Runtime")
ENDIF( BUILD_BLOCKS_RUNTIME )
ADD_SUBDIRECTORY( lib )
# Enable Test Suit: