build system: removed the in-source build check

This commit is contained in:
Michele Caini
2022-01-29 17:31:37 +01:00
parent 653680a356
commit b054e93f0e

View File

@@ -4,14 +4,6 @@
cmake_minimum_required(VERSION 3.12.4)
#
# Building in-tree is not allowed (we take care of your craziness).
#
if(${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_BINARY_DIR})
message(FATAL_ERROR "Prevented in-tree built. Please create a build directory outside of the source code and call cmake from there. Thank you.")
endif()
#
# Read project version
#