this repo has no description
1macro( MACRO_ENSURE_OUT_OF_SOURCE_BUILD )
2string( COMPARE EQUAL "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" _insource )
3if( _insource )
4 message( FATAL_ERROR
5 "In-source builds are not allowed.
6 CMake would overwrite the Linux kernel module Makefile.
7 Please create a directory and run cmake from there, passing the path
8 to this source directory as the last argument.
9 This process created the file `CMakeCache.txt' and the directory `CMakeFiles'.
10 Please delete them."
11 )
12endif( _insource )
13endmacro( MACRO_ENSURE_OUT_OF_SOURCE_BUILD )
14