summaryrefslogtreecommitdiff
path: root/meta/packages/opensync/libopensync-0.36
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-06-18 08:36:29 +0000
committerMarcin Juszkiewicz <hrw@openedhand.com>2008-06-18 08:36:29 +0000
commit42243f8179be6d19db47ff1b1d1201d590b2978d (patch)
treebbe6b9c128179cb8e266f147da2b3eedcaa41074 /meta/packages/opensync/libopensync-0.36
parent3a9ee10cabb29df835dadde9648ad203d0935097 (diff)
downloadopenembedded-core-42243f8179be6d19db47ff1b1d1201d590b2978d.tar.gz
openembedded-core-42243f8179be6d19db47ff1b1d1201d590b2978d.tar.bz2
openembedded-core-42243f8179be6d19db47ff1b1d1201d590b2978d.zip
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
Diffstat (limited to 'meta/packages/opensync/libopensync-0.36')
-rw-r--r--meta/packages/opensync/libopensync-0.36/build-in-src.patch18
1 files changed, 18 insertions, 0 deletions
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 0000000000..1810b339a6
--- /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@" )