diff --git a/direct/Package.pp b/direct/Package.pp index 6aee0aed85..ad455e405f 100644 --- a/direct/Package.pp +++ b/direct/Package.pp @@ -49,10 +49,12 @@ // Define the inter-tree dependencies. #define NEEDS_TREES $[NEEDS_TREES] panda - // Also get the PANDA Package file and everything that includes. #if $[not $[isfile $[PANDA_SOURCE]/Package.pp]] #error PANDA source directory not found! Are you attached properly? #endif #include $[PANDA_SOURCE]/Package.pp + +// Now define the intra-tree dependencies. +#define DEPENDABLE_HEADER_DIRS $[DEPENDABLE_HEADER_DIRS] $[PANDA_INSTALL]/include diff --git a/panda/Package.pp b/panda/Package.pp index 52cd2f9344..88b634af98 100644 --- a/panda/Package.pp +++ b/panda/Package.pp @@ -56,3 +56,6 @@ #endif #include $[DTOOL_SOURCE]/Package.pp + +// Now define the intra-tree dependencies. +#define DEPENDABLE_HEADER_DIRS $[DEPENDABLE_HEADER_DIRS] $[DTOOL_INSTALL]/include diff --git a/pandaapp/Package.pp b/pandaapp/Package.pp index 2e30f28d8a..66f40640ab 100644 --- a/pandaapp/Package.pp +++ b/pandaapp/Package.pp @@ -57,3 +57,6 @@ #endif #include $[PANDATOOL_SOURCE]/Package.pp + +// Now define the intra-tree dependencies. +#define DEPENDABLE_HEADER_DIRS $[DEPENDABLE_HEADER_DIRS] $[PANDATOOL_INSTALL]/include diff --git a/pandatool/Package.pp b/pandatool/Package.pp index 06a4875a1b..fbc04c499c 100644 --- a/pandatool/Package.pp +++ b/pandatool/Package.pp @@ -58,3 +58,6 @@ #endif #include $[PANDA_SOURCE]/Package.pp + +// Now define the intra-tree dependencies. +#define DEPENDABLE_HEADER_DIRS $[DEPENDABLE_HEADER_DIRS] $[PANDA_INSTALL]/include