summaryrefslogtreecommitdiff
blob: 71cbea6acd48df3a184b84b752d72a04d505b8a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/CMakeLists.txt	2018-03-23 10:48:02.309486850 +0100
+++ b/CMakeLists.txt	2018-03-23 10:48:04.157486836 +0100
@@ -614,7 +614,9 @@
 endif ()
 
 # Setup samples
-add_subdirectory(Samples)
+if (OGRE_BUILD_SAMPLES2)
+    add_subdirectory(Samples)
+endif ()
 
 # Add android JNI binding
 if(ANDROID AND OGRE_BUILD_ANDROID_JNI_SAMPLE)