[oce] 03/04: debian/rules: workaround bug in CMake which does not detect Freetype 2.5.1
Denis Barbier
barbier-guest at moszumanska.debian.org
Tue Dec 3 08:19:20 UTC 2013
This is an automated email from the git hooks/post-receive script.
barbier-guest pushed a commit to branch debian
in repository oce.
commit a2f5c947367edba9605cdecbeb841c919a7b6fe3
Author: Denis Barbier <bouzim at gmail.com>
Date: Tue Dec 3 01:17:09 2013 +0100
debian/rules: workaround bug in CMake which does not detect Freetype 2.5.1
Pass -DFREETYPE_INCLUDE_DIR_freetype2=/usr/include/freetype2 to cmake.
With Freetype 2.5, this directory does not contain freetype/config/ftheader.h,
but it does not matter because header files are now at the same level as
ft2build.h
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 3229b94..6f30b02 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,6 +16,7 @@ endif
override_dh_auto_configure:
# See in debian/patches/split-export.patch why we must ignore cmake return value
-dh_auto_configure -- \
+ -DFREETYPE_INCLUDE_DIR_freetype2=/usr/include/freetype2 \
-DOCE_BUILD_SHARED_LIB:BOOL=ON \
-DOCE_TESTING:BOOL=ON \
-DOCE_BUILD_TYPE:STRING=RelWithDebInfo \
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/oce.git
More information about the debian-science-commits
mailing list