]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix bakefiles. Precomp variable is used undefined when building samples (it was only...
authorKevin Ollivier <kevino@theolliviers.com>
Sat, 20 Sep 2008 23:46:34 +0000 (23:46 +0000)
committerKevin Ollivier <kevino@theolliviers.com>
Sat, 20 Sep 2008 23:46:34 +0000 (23:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

build/bakefiles/common_samples_intree.bkl

index ed4dd52a3f9556fbb02147d5332dc89e1feda9cd..2c7af198ddb16ebe9af6a23bb45fec5b79fcc7cc 100644 (file)
@@ -9,6 +9,8 @@
     <!--                    Template for wxWidgets samples:              -->
     <!-- =============================================================== -->
 
     <!--                    Template for wxWidgets samples:              -->
     <!-- =============================================================== -->
 
+    <set var="WX_ENABLE_PRECOMP_HEADERS">0</set>
+
     <set var="DLLFLAG">
         <if cond="SHARED=='1'">WXUSINGDLL</if>
     </set>
     <set var="DLLFLAG">
         <if cond="SHARED=='1'">WXUSINGDLL</if>
     </set>
@@ -36,7 +38,7 @@
 
         <!-- FIXME: temporary, until bakefile can reuse existing pch files -->
         <if cond="FORMAT!='autoconf'">
 
         <!-- FIXME: temporary, until bakefile can reuse existing pch files -->
         <if cond="FORMAT!='autoconf'">
-            <if cond="WX_ENABLE_PRECOMP_HEADERS!='1'">
+            <if cond="WX_ENABLE_PRECOMP_HEADERS=='0'">
                 <define>NOPCH</define>
             </if>
         </if>
                 <define>NOPCH</define>
             </if>
         </if>