File: cmake-disable-samples.diff

package info (click to toggle)
ogre-1.12 1.12.10%2Bdfsg2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 38,248 kB
  • sloc: cpp: 296,806; ansic: 46,900; lex: 3,682; yacc: 1,589; python: 1,297; makefile: 76; sh: 5
file content (24 lines) | stat: -rw-r--r-- 735 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Description: Samples have been stripped from Debian due to license issues
 .
 CMakeLists.txt however includes this subfolder unconditionally
 despite OGRE_BUILD_SAMPLES=false
 .
 Samples have been cleaned-up in current master branch and can be
 included in future updates
Author: Simon Schmeisser <s.schmeisser@gmx.net>
Forwarded: not-needed

Index: ogre-1.12/CMakeLists.txt
===================================================================
--- ogre-1.12.orig/CMakeLists.txt
+++ ogre-1.12/CMakeLists.txt
@@ -485,7 +485,8 @@ if (OGRE_BUILD_TESTS)
 endif ()
 
 # Setup samples
-add_subdirectory(Samples)
+# Samples have been removed from Debian package
+# add_subdirectory(Samples)
 
 # Setup command-line tools
 if (OGRE_BUILD_TOOLS)