diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-02 06:21:32 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2011-05-02 06:21:32 +0000 |
commit | 0c7345a551feec6fc5b1e156612ab43382734cf7 (patch) | |
tree | 1f709a513a1a13a0e77d49a7d765a0a83d179167 /main/sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch | |
parent | df747d4c71238ae72b98ae3e46fd64098a049836 (diff) | |
download | aports-0c7345a551feec6fc5b1e156612ab43382734cf7.tar.bz2 aports-0c7345a551feec6fc5b1e156612ab43382734cf7.tar.xz |
main/sems: upgrade to 1.4.0 (moved from testing)
Diffstat (limited to 'main/sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch')
-rw-r--r-- | main/sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/main/sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch b/main/sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch new file mode 100644 index 000000000..0cfeab8c8 --- /dev/null +++ b/main/sems/sems-0002-Allow-rewrite-of-custom-makefiles-by-CMake.patch @@ -0,0 +1,33 @@ +From 26929b6a7a62299b71bf7c99f17f75670a2040e2 Mon Sep 17 00:00:00 2001 +From: Peter Lemenkov <lemenkov@gmail.com> +Date: Wed, 31 Mar 2010 11:53:48 +0400 +Subject: [PATCH 02/11] Allow rewrite of custom makefiles by CMake + +Signed-off-by: Peter Lemenkov <lemenkov@gmail.com> +--- + CMakeLists.txt | 9 --------- + 1 files changed, 0 insertions(+), 9 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index a6ff425..ef3934e 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -26,15 +26,6 @@ ELSE(IS_DEVEL) + ENDIF(IS_DEVEL) + MESSAGE(STATUS "Configuring ${CMAKE_PROJECT_NAME} v. ${SEMS_VERSION}") + +-IF(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE) +- message(FATAL_ERROR "In-source builds are not allowed. +-CMake would overwrite all makefiles distributed with SEMS. +-Please create a directory and run cmake from there, passing the path +-to this source directory as the last argument. +-This process created the file `CMakeCache.txt' and the directory `CMakeFiles'. +-Please delete them.") +-ENDIF(CMAKE_SOURCE_DIR STREQUAL CMAKE_BINARY_DIR AND NOT MSVC_IDE) +- + OPTION(SEMS_USE_SPANDSP "Build with spandsp" OFF) + OPTION(SEMS_USE_LIBSAMPLERATE "Build with libsamplerate" OFF) + OPTION(SEMS_USE_ZRTP "Build with ZRTP" OFF) +-- +1.7.3.4 + |