module files are parsed for configuration by default

This commit is contained in:
Radovan Bast
2015-07-28 12:22:11 +02:00
parent 2e07af6017
commit faada401f4
26 changed files with 74 additions and 122 deletions

View File

@ -7,11 +7,6 @@
# PROJECT_SOURCE_DIR
# PROJECT_BINARY_DIR
# CMAKE_BUILD_TYPE
#
# Example autocmake.cfg entry::
#
# [safeguards]
# source: https://github.com/scisoft/autocmake/raw/master/modules/safeguards.cmake
if(${PROJECT_SOURCE_DIR} STREQUAL ${PROJECT_BINARY_DIR})
message(FATAL_ERROR "In-source builds not allowed. Please make a new directory (called a build directory) and run CMake from there.")