[packages/OpenColorIO] - (try to) help cmake to find jdk when lib64 is used
qboosh
qboosh at pld-linux.org
Sun Jul 29 11:44:48 CEST 2012
commit 29d4f2106eb1466120e1a96f85ca1adaba7989e0
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 29 11:44:55 2012 +0200
- (try to) help cmake to find jdk when lib64 is used
OpenColorIO.spec | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/OpenColorIO.spec b/OpenColorIO.spec
index a5c7503..0005db3 100644
--- a/OpenColorIO.spec
+++ b/OpenColorIO.spec
@@ -159,6 +159,8 @@ Plik nagłówkowy API PyOpenColorIO.
%patch1 -p1
%build
+%{?with_java:export JAVA_HOME=%{_jvmlibdir}/java}
+
install -d build
cd build
%cmake .. \
More information about the pld-cvs-commit
mailing list