summaryrefslogtreecommitdiff
path: root/indra/media_plugins/example
diff options
context:
space:
mode:
authorMark Palange (Mani) <palange@lindenlab.com>2010-10-22 14:27:56 -0700
committerMark Palange (Mani) <palange@lindenlab.com>2010-10-22 14:27:56 -0700
commitb30a0b4bdb8493592ac918b1a8649d7dbb3bae51 (patch)
tree4688747aca7195cc996451cc4bd376bf1764eb4b /indra/media_plugins/example
parentbe1c9a867440e4306348887ce07c88ba6cd31241 (diff)
parentd3f3dd0998ee8a2159a98d2d8b4b02dce6176252 (diff)
merge
Diffstat (limited to 'indra/media_plugins/example')
-rw-r--r--indra/media_plugins/example/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/media_plugins/example/CMakeLists.txt b/indra/media_plugins/example/CMakeLists.txt
index 4d82f2747c..56cefde4bd 100644
--- a/indra/media_plugins/example/CMakeLists.txt
+++ b/indra/media_plugins/example/CMakeLists.txt
@@ -29,6 +29,14 @@ include_directories(
### media_plugin_example
+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)
+
set(media_plugin_example_SOURCE_FILES
media_plugin_example.cpp
)