]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/cube/cube.bkl
Removed dummy wxFont == operator implementation (IIRC was needed to compile with...
[wxWidgets.git] / samples / opengl / cube / cube.bkl
index efd8ace195931cbe0d33af413ebcef0807dc8807..a391390a711d6291a6a7471cbd8a5cc5a43c939b 100644 (file)
@@ -5,7 +5,11 @@
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
-    <exe id="cube" template="wx_sample" template_append="wx_append">
+    <if cond="OUT_OF_TREE_MAKEFILES=='1'">
+        <set var="USE_OPENGL">1</set>
+    </if>
+
+    <exe id="cube" template="wx_sample" template_append="wx_append" cond="USE_OPENGL=='1'">
         <sources>cube.cpp</sources>
         <wx-lib>gl</wx-lib>
         <wx-lib>core</wx-lib>
         <sources>cube.cpp</sources>
         <wx-lib>gl</wx-lib>
         <wx-lib>core</wx-lib>