From 42243f8179be6d19db47ff1b1d1201d590b2978d Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 18 Jun 2008 08:36:29 +0000 Subject: libopensync: allow to build plugins in their source dir git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4692 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../opensync/libopensync-0.36/build-in-src.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 meta/packages/opensync/libopensync-0.36/build-in-src.patch (limited to 'meta/packages') diff --git a/meta/packages/opensync/libopensync-0.36/build-in-src.patch b/meta/packages/opensync/libopensync-0.36/build-in-src.patch new file mode 100644 index 000000000..1810b339a --- /dev/null +++ b/meta/packages/opensync/libopensync-0.36/build-in-src.patch @@ -0,0 +1,18 @@ +--- + cmake/OpenSyncInternal.cmake.in | 1 - + 1 file changed, 1 deletion(-) + +--- libopensync-0.36.orig/cmake/OpenSyncInternal.cmake.in ++++ libopensync-0.36/cmake/OpenSyncInternal.cmake.in +@@ -5,11 +5,10 @@ INCLUDE( OpenSyncTesting ) + INCLUDE( OpenSyncPackaging ) + INCLUDE( OpenSyncPlugin ) + INCLUDE( OpenSyncPlatforms ) + INCLUDE( MacroEnsureOutOfSourceBuild ) + +-MACRO_ENSURE_OUT_OF_SOURCE_BUILD("${CMAKE_PROJECT_NAME} doesn't allow to build within the source directory. Please, create a seperate build directory and run 'cmake ${PROJECT_SOURCE_DIR} [options]'!") + + + SET( OPENSYNC_PLUGINDIR "@OPENSYNC_PLUGINDIR@" ) + SET( OPENSYNC_FORMATSDIR "@OPENSYNC_FORMATSDIR@" ) + SET( OPENSYNC_PYTHON_PLUGINDIR "@OPENSYNC_PYTHON_PLUGINDIR@" ) -- cgit v1.2.3