summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2016-04-26 22:23:18 -0400
committerNat Goodspeed <nat@lindenlab.com>2016-04-26 22:23:18 -0400
commitec0e3e9f08cc13025b216f1c4576f5c88622043c (patch)
tree2137e7c0296476e20bd1dfe2cec01daf55a23daa
parent811a0b5726ed965f9f21ace2d3ec97bb95a91311 (diff)
DRTVWR-418: Match KDU_X86_INTRINSICS macro set for KDU package build.
-rwxr-xr-xindra/llkdu/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llkdu/CMakeLists.txt b/indra/llkdu/CMakeLists.txt
index b8f8b420c3..cb0e204e91 100755
--- a/indra/llkdu/CMakeLists.txt
+++ b/indra/llkdu/CMakeLists.txt
@@ -40,6 +40,14 @@ set_source_files_properties(${llkdu_HEADER_FILES}
list(APPEND llkdu_SOURCE_FILES ${llkdu_HEADER_FILES})
+# Our KDU package is built with KDU_X86_INTRINSICS in its .vcxproj file.
+# Unless that macro is also set for every consumer build, KDU freaks out,
+# spamming the viewer log with alignment FUD.
+set_source_files_properties(${llkdu_SOURCE_FILES}
+ PROPERTIES
+ COMPILE_DEFINITIONS
+ "KDU_X86_INTRINSICS")
+
if (USE_KDU)
add_library (llkdu ${llkdu_SOURCE_FILES})