diff options
Diffstat (limited to 'linden/indra/media_plugins/base/CMakeLists.txt')
-rw-r--r-- | linden/indra/media_plugins/base/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/media_plugins/base/CMakeLists.txt b/linden/indra/media_plugins/base/CMakeLists.txt index f8d2dab..a3ee02e 100644 --- a/linden/indra/media_plugins/base/CMakeLists.txt +++ b/linden/indra/media_plugins/base/CMakeLists.txt | |||
@@ -25,6 +25,14 @@ include_directories( | |||
25 | 25 | ||
26 | ### media_plugin_base | 26 | ### media_plugin_base |
27 | 27 | ||
28 | if(WORD_SIZE EQUAL 64) | ||
29 | if(WINDOWS) | ||
30 | add_definitions(/FIXED:NO) | ||
31 | else(WINDOWS) # not windows therefore gcc LINUX and DARWIN | ||
32 | add_definitions(-fPIC) | ||
33 | endif(WINDOWS) | ||
34 | endif (WORD_SIZE EQUAL 64) | ||
35 | |||
28 | set(media_plugin_base_SOURCE_FILES | 36 | set(media_plugin_base_SOURCE_FILES |
29 | media_plugin_base.cpp | 37 | media_plugin_base.cpp |
30 | ) | 38 | ) |