gentoo/dev-games/ogre/files/ogre-1.9.0-samples.patch
Sven Eden bd845a620c
dev-games/ogre: Fix ebuild for 1.9.0 (EAPI 7)
Signed-off-by: Sven Eden <yamakuzure@gmx.net>
Closes: https://github.com/gentoo/gentoo/pull/13655
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
2020-01-07 22:57:55 +00:00

14 lines
225 B
Diff

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -519,7 +519,9 @@
endif ()
# Setup samples
-add_subdirectory(Samples)
+if (OGRE_BUILD_SAMPLES)
+ add_subdirectory(Samples)
+endif ()
#Add android JNI binding
if(ANDROID)