Browse Source

Fixed HAVE_CG

Josh Yelon 21 years ago
parent
commit
e555739d63
1 changed files with 6 additions and 0 deletions
  1. 6 0
      doc/makepanda/makepanda.py

+ 6 - 0
doc/makepanda/makepanda.py

@@ -330,6 +330,8 @@ DTOOLDEFAULTS=[
     ("HAVE_FFTW",                      'UNDEF',                  'UNDEF'),
     ("HAVE_FFTW",                      'UNDEF',                  'UNDEF'),
     ("HAVE_SSL",                       'UNDEF',                  'UNDEF'),
     ("HAVE_SSL",                       'UNDEF',                  'UNDEF'),
     ("HAVE_NET",                       'UNDEF',                  'UNDEF'),
     ("HAVE_NET",                       'UNDEF',                  'UNDEF'),
+    ("HAVE_CG",                        'UNDEF',                  'UNDEF'),
+    ("HAVE_CGGL",                      'UNDEF',                  'UNDEF'),
     ]
     ]
 
 
 DTOOLCONFIG={}
 DTOOLCONFIG={}
@@ -742,6 +744,10 @@ if (os.path.isdir(os.path.join(THIRDPARTY, "win-libs-vc7", "miles"))==0):
 
 
 DTOOLCONFIG["HAVE_NET"] = DTOOLCONFIG["HAVE_NSPR"]
 DTOOLCONFIG["HAVE_NET"] = DTOOLCONFIG["HAVE_NSPR"]
 
 
+if (OMIT.count("NVIDIACG")==0):
+    DTOOLCONFIG["HAVE_CG"] = '1'
+    DTOOLCONFIG["HAVE_CGGL"] = '1'
+
 if (OPTIMIZE <= 3):
 if (OPTIMIZE <= 3):
     if (DTOOLCONFIG["HAVE_NET"] != 'UNDEF'):
     if (DTOOLCONFIG["HAVE_NET"] != 'UNDEF'):
         DTOOLCONFIG["DO_PSTATS"] = '1'
         DTOOLCONFIG["DO_PSTATS"] = '1'