diff --git a/panda/src/sgraph/Sources.pp b/panda/src/sgraph/Sources.pp index 6c98345680..5875955d69 100644 --- a/panda/src/sgraph/Sources.pp +++ b/panda/src/sgraph/Sources.pp @@ -1,5 +1,10 @@ #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \ dtoolutil:c dtoolbase:c dtool:m + +#if $[eq $[USE_COMPILER], INTEL] +#define USE_COMPILER MSVC +#include $[DTOOL]/pptempl/compilerSettings.pp +#endif #begin lib_target #define TARGET sgraph diff --git a/panda/src/sgraphutil/Sources.pp b/panda/src/sgraphutil/Sources.pp index fa57868aca..d33bd0c101 100644 --- a/panda/src/sgraphutil/Sources.pp +++ b/panda/src/sgraphutil/Sources.pp @@ -1,5 +1,10 @@ #define OTHER_LIBS interrogatedb:c dconfig:c dtoolconfig:m \ dtoolutil:c dtoolbase:c dtool:m + +#if $[eq $[USE_COMPILER], INTEL] +#define USE_COMPILER MSVC +#include $[DTOOL]/pptempl/compilerSettings.pp +#endif #begin lib_target #define TARGET sgraphutil