From d3a0603a7bc1069438a0eaffc0cc91099c55e3ac Mon Sep 17 00:00:00 2001 From: rdb Date: Mon, 23 Nov 2015 16:18:25 +0100 Subject: [PATCH] Include Eigen headers in the Mac OS X SDK as well --- makepanda/makepanda.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 7f65dad759..a90e838b6c 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -2807,8 +2807,8 @@ if (PkgSkip("PYTHON")==0 and os.path.isdir(GetThirdpartyBase()+"/Pmw")): ConditionalWriteFile(GetOutputDir()+'/include/ctl3d.h', '/* dummy file to make MAX happy */') # Since Eigen is included by all sorts of core headers, as a convenience -# to C++ users on Windows, we include it in the Panda include directory. -if not PkgSkip("EIGEN") and GetTarget() == "windows" and GetThirdpartyDir(): +# to C++ users on Win and Mac, we include it in the Panda include directory. +if not PkgSkip("EIGEN") and GetTarget() in ("windows", "darwin") and GetThirdpartyDir(): CopyTree(GetOutputDir()+'/include/Eigen', GetThirdpartyDir()+'eigen/include/Eigen') ########################################################################