瀏覽代碼

build system: removed the in-source build check

Michele Caini 4 年之前
父節點
當前提交
b054e93f0e
共有 1 個文件被更改,包括 0 次插入 和 8 次删除
  1. 0 8
      CMakeLists.txt

+ 0 - 8
CMakeLists.txt

@@ -4,14 +4,6 @@
 
 
 cmake_minimum_required(VERSION 3.12.4)
 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
 # Read project version
 #
 #