diff options
author | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:40:24 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-10-15 16:40:24 -0400 |
commit | 18321756297bd9b04a4204abe4fbb0e3e8112186 (patch) | |
tree | 01e58c48ac8be93161d4a7002232ea7974637a39 /indra/llplugin/CMakeLists.txt | |
parent | cc902e3d24c88bd49c591e81506875c5e3782b08 (diff) | |
parent | dd69516213fdf20cbc254214e651c4df26afbff7 (diff) |
pull fix for STORM-279
Diffstat (limited to 'indra/llplugin/CMakeLists.txt')
-rw-r--r-- | indra/llplugin/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llplugin/CMakeLists.txt b/indra/llplugin/CMakeLists.txt index fdd510b389..d3a73058c4 100644 --- a/indra/llplugin/CMakeLists.txt +++ b/indra/llplugin/CMakeLists.txt @@ -51,6 +51,14 @@ set(llplugin_HEADER_FILES set_source_files_properties(${llplugin_HEADER_FILES} PROPERTIES HEADER_FILE_ONLY TRUE) +if(NOT WORD_SIZE EQUAL 32) + if(WINDOWS) + add_definitions(/FIXED:NO) + else(WINDOWS) # not windows therefore gcc LINUX and DARWIN + add_definitions(-fPIC) + endif(WINDOWS) +endif(NOT WORD_SIZE EQUAL 32) + list(APPEND llplugin_SOURCE_FILES ${llplugin_HEADER_FILES}) add_library (llplugin ${llplugin_SOURCE_FILES}) |