prelude.cmake (315B)
1 # ---- In-source guard ---- 2 3 if(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR) 4 message( 5 FATAL_ERROR 6 "In-source builds are not supported. " 7 "Please read the BUILDING document before trying to build this project. " 8 "You may need to delete 'CMakeCache.txt' and 'CMakeFiles/' first." 9 ) 10 endif()