Warning, /libraries/kdb/cmake/modules/MacroEnsureOutOfSourceBuild.cmake is written in an unsupported language. File is not indexed.
0001 macro( MACRO_ENSURE_OUT_OF_SOURCE_BUILD ) 0002 0003 string( COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" _insource ) 0004 if( _insource ) 0005 message( FATAL_ERROR 0006 "In-source builds are not allowed. Please create a directory and run cmake from there, passing the path to this source directory as the last argument. This process created the file `CMakeCache.txt' and the directory `CMakeFiles'. Please delete them." 0007 ) 0008 endif() 0009 0010 endmacro( MACRO_ENSURE_OUT_OF_SOURCE_BUILD )