1a0ffb5
From 9148b9c37b3ced81683ebc691c090f84ddb97b2b Mon Sep 17 00:00:00 2001
5be487a
From: Peter Lemenkov <lemenkov@gmail.com>
5be487a
Date: Wed, 31 Mar 2010 11:53:48 +0400
448b22f
Subject: [PATCH 02/18] Allow rewrite of custom makefiles by CMake
5be487a
5be487a
Signed-off-by: Peter Lemenkov <lemenkov@gmail.com>
5be487a
---
448b22f
 CMakeLists.txt | 9 ---------
8937bb2
 1 file changed, 9 deletions(-)
5be487a
5be487a
diff --git a/CMakeLists.txt b/CMakeLists.txt
1a0ffb5
index 8f83c5d..68b0c26 100644
5be487a
--- a/CMakeLists.txt
5be487a
+++ b/CMakeLists.txt
d78b963
@@ -27,15 +27,6 @@ ENDIF(EXISTS ${CMAKE_SOURCE_DIR}/.git)
d78b963
 
9fc2753
 MESSAGE(STATUS "Configuring ${CMAKE_PROJECT_NAME} v. ${SEMS_VERSION}")
5be487a
 
5be487a
-IF(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE)
5be487a
-	message(FATAL_ERROR "In-source builds are not allowed.
5be487a
-CMake would overwrite all makefiles distributed with SEMS.
5be487a
-Please create a directory and run cmake from there, passing the path
5be487a
-to this source directory as the last argument.
5be487a
-This process created the file `CMakeCache.txt' and the directory `CMakeFiles'.
5be487a
-Please delete them.")
5be487a
-ENDIF(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE)
5be487a
-
5be487a
 OPTION(SEMS_USE_SPANDSP       "Build with spandsp" OFF)
5be487a
 OPTION(SEMS_USE_LIBSAMPLERATE "Build with libsamplerate" OFF)
5be487a
 OPTION(SEMS_USE_ZRTP          "Build with ZRTP" OFF)
5be487a
-- 
448b22f
1.8.0
5be487a