]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/opengl/cube/cube.bkl
Forward port of r60190 (wxMSW Cairo support) to trunk.
[wxWidgets.git] / samples / opengl / cube / cube.bkl
index 342b43bb7a1ca0c47b159eca2139d4ec629c8e83..50b4b5c5c453dbe6b612fa2e0ad88c86921bf9bb 100644 (file)
@@ -5,8 +5,13 @@
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
 
     <include file="../../../build/bakefiles/common_samples.bkl"/>
 
+    <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>
     <exe id="cube" template="wx_sample" template_append="wx_append" cond="USE_OPENGL=='1'">
         <sources>cube.cpp</sources>
+        <headers>cube.h</headers>
         <wx-lib>gl</wx-lib>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>
         <wx-lib>gl</wx-lib>
         <wx-lib>core</wx-lib>
         <wx-lib>base</wx-lib>