Browse Source

Checking that we have JPEG when building rtdist (used for the splash screen)

gogg 15 years ago
parent
commit
2eacb78949
1 changed files with 3 additions and 0 deletions
  1. 3 0
      makepanda/makepanda.py

+ 3 - 0
makepanda/makepanda.py

@@ -243,6 +243,9 @@ if (INSTALLER) and (PkgSkip("PYTHON")) and (not RUNTIME):
 if (RTDIST or RUNTIME) and (PkgSkip("TINYXML")):
 if (RTDIST or RUNTIME) and (PkgSkip("TINYXML")):
     exit("Cannot build rtdist or runtime without tinyxml")
     exit("Cannot build rtdist or runtime without tinyxml")
 
 
+if (RTDIST) and (PkgSkip("JPEG")):
+    exit("Cannot build rtdist without jpeg")
+
 if (RUNTIME):
 if (RUNTIME):
     SetLinkAllStatic(True)
     SetLinkAllStatic(True)