diff options
Diffstat (limited to 'indra')
-rw-r--r-- | indra/llui/tests/llurlentry_test.cpp | 5 | ||||
-rw-r--r-- | indra/llwindow/lldxhardware.h | 2 | ||||
-rw-r--r-- | indra/newview/llappviewer.cpp | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/indra/llui/tests/llurlentry_test.cpp b/indra/llui/tests/llurlentry_test.cpp index 119cbebc81..3c34fd269e 100644 --- a/indra/llui/tests/llurlentry_test.cpp +++ b/indra/llui/tests/llurlentry_test.cpp @@ -36,6 +36,11 @@ #include <boost/regex.hpp> +#if LL_WINDOWS +// because something pulls in window and lldxdiag dependencies which in turn need wbemuuid.lib + #pragma comment(lib, "wbemuuid.lib") +#endif + // namespace LLExperienceCache // { diff --git a/indra/llwindow/lldxhardware.h b/indra/llwindow/lldxhardware.h index 6be3a3bef3..1cb687e3b6 100644 --- a/indra/llwindow/lldxhardware.h +++ b/indra/llwindow/lldxhardware.h @@ -33,8 +33,6 @@ #include "llstring.h" #include "llsd.h" -# pragma comment(lib, "wbemuuid.lib") - class LLVersion { public: diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 7539d147ae..d3067456fa 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -61,7 +61,9 @@ #include "llallocator.h" #include "llcalc.h" #include "llconversationlog.h" +#if LL_WINDOWS #include "lldxhardware.h" +#endif #include "lltexturestats.h" #include "lltrace.h" #include "lltracethreadrecorder.h" |