summaryrefslogtreecommitdiff
path: root/indra/cmake/00-Common.cmake
diff options
context:
space:
mode:
authorNyx (Neal Orman) <nyx@lindenlab.com>2010-08-26 16:52:32 -0400
committerNyx (Neal Orman) <nyx@lindenlab.com>2010-08-26 16:52:32 -0400
commit054e8fbde325c03bc8f9a7c10aa8bb9319d501ba (patch)
tree0919778b1d87f6fa372021204f6aa71e8de21580 /indra/cmake/00-Common.cmake
parent71de5f622a7917f78823a7e7840194e1b0f8f070 (diff)
buildfix: fixing linux build to handle new SSE2 architecture
code reviewed by davep and falcon
Diffstat (limited to 'indra/cmake/00-Common.cmake')
-rw-r--r--indra/cmake/00-Common.cmake6
1 files changed, 2 insertions, 4 deletions
diff --git a/indra/cmake/00-Common.cmake b/indra/cmake/00-Common.cmake
index 8262462ced..20573c9495 100644
--- a/indra/cmake/00-Common.cmake
+++ b/indra/cmake/00-Common.cmake
@@ -144,6 +144,8 @@ if (LINUX)
-fno-strict-aliasing
-fsigned-char
-g
+ -msse2
+ -mfpmath=sse
-pthread
)
@@ -163,10 +165,6 @@ if (LINUX)
link_directories(/usr/lib/mysql4/mysql)
endif (EXISTS /usr/lib/mysql4/mysql)
- add_definitions(
- -msse2
- -mfpmath=sse
- )
endif (SERVER)
if (VIEWER)