diff --git a/dtool/Config.pp b/dtool/Config.pp index c71ce98a99..c19f7d0d10 100644 --- a/dtool/Config.pp +++ b/dtool/Config.pp @@ -510,6 +510,12 @@ #define DX_LIBS d3d8.lib d3dx8.lib dxerr8.lib #defer HAVE_DX $[libtest $[DX_LPATH],$[DX_LIBS]] +// Is CV available, and should we try to build with it? +#define CV_IPATH $[WINTOOLS]/sdk/cv/include +#define CV_LPATH $[WINTOOLS]/sdk/cv/lib +#define CV_LIBS cv.lib highgui.lib cxcore.lib +#defer HAVE_CV $[libtest $[CV_LPATH],$[CV_LIBS]] + // Do you want to build the DirectD tools for starting Panda clients // remotely? This only affects the direct tree. Enabling this may // cause libdirect.dll to fail to load on Win98 clients. diff --git a/dtool/Package.pp b/dtool/Package.pp index 36eabfd82c..831aec00b0 100644 --- a/dtool/Package.pp +++ b/dtool/Package.pp @@ -192,6 +192,11 @@ #set DX_LIBS $[DX_LIBS] #set HAVE_DX $[HAVE_DX] +#set CV_IPATH $[unixfilename $[CV_IPATH]] +#set CV_LPATH $[unixfilename $[CV_LPATH]] +#set CV_LIBS $[CV_LIBS] +#set HAVE_CV $[HAVE_CV] + #set HAVE_THREADS $[HAVE_THREADS] #set NET_IPATH $[unixfilename $[NET_IPATH]]