mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
correctly handle PPREMAKE_CONFIG not set
This commit is contained in:
parent
01171fd7d2
commit
26251e7b8e
@ -77,14 +77,14 @@
|
|||||||
// directory. This file might redefine any of the variables defined
|
// directory. This file might redefine any of the variables defined
|
||||||
// above.
|
// above.
|
||||||
#if $[ne $[PPREMAKE_CONFIG],]
|
#if $[ne $[PPREMAKE_CONFIG],]
|
||||||
#set PPREMAKE_CONFIG $[unixfilename $[PPREMAKE_CONFIG]]
|
#define PPREMAKE_CONFIG $[unixfilename $[PPREMAKE_CONFIG]]
|
||||||
#print Reading $[PPREMAKE_CONFIG]
|
#print Reading $[PPREMAKE_CONFIG]
|
||||||
#include $[PPREMAKE_CONFIG]
|
#include $[PPREMAKE_CONFIG]
|
||||||
|
|
||||||
#elif $[wildcard $[unixfilename $[INSTALL_DIR]]/Config.pp]
|
#elif $[wildcard $[unixfilename $[INSTALL_DIR]]/Config.pp]
|
||||||
// If the PPREMAKE_CONFIG variable is not, but there exists a
|
// If the PPREMAKE_CONFIG variable is not, but there exists a
|
||||||
// Config.pp in the compiled-in INSTALL_DIR, use that one by default.
|
// Config.pp in the compiled-in INSTALL_DIR, use that one by default.
|
||||||
#set PPREMAKE_CONFIG $[unixfilename $[INSTALL_DIR]]/Config.pp
|
#define PPREMAKE_CONFIG $[unixfilename $[INSTALL_DIR]]/Config.pp
|
||||||
#print Reading $[PPREMAKE_CONFIG]
|
#print Reading $[PPREMAKE_CONFIG]
|
||||||
#include $[PPREMAKE_CONFIG]
|
#include $[PPREMAKE_CONFIG]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user