[Pkg-owncloud-commits] [owncloud-client] 55/89: define NE_LFS from cmake
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:36 UTC 2013
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 47308cdc01ebba4af712efcc8c336022341bd465
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Tue Dec 10 16:13:07 2013 +0100
define NE_LFS from cmake
---
src/CMakeLists.txt | 5 +++++
src/mirall/owncloudpropagator.h | 2 --
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index ae4d1b9..bb9dcb3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -188,6 +188,11 @@ endif()
if(NEON_FOUND)
list(APPEND libsync_LINK_TARGETS ${NEON_LIBRARIES})
include_directories(${NEON_INCLUDE_DIRS})
+
+ if(NEON_WITH_LFS)
+ add_definitions(-DNE_LFS)
+ endif()
+
endif()
add_library(${synclib_NAME} SHARED ${libsync_SRCS} ${syncMoc})
diff --git a/src/mirall/owncloudpropagator.h b/src/mirall/owncloudpropagator.h
index 02f22f9..ddaf338 100644
--- a/src/mirall/owncloudpropagator.h
+++ b/src/mirall/owncloudpropagator.h
@@ -15,8 +15,6 @@
#ifndef OWNCLOUDPROPAGATOR_H
#define OWNCLOUDPROPAGATOR_H
-#define NE_LFS // never remove this. otherwise NEON will behave badly.
-
#include <neon/ne_request.h>
#include <QHash>
#include <QObject>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list