diff options
author | Oz Linden <oz@lindenlab.com> | 2010-10-12 10:58:42 -0400 |
---|---|---|
committer | Oz Linden <oz@lindenlab.com> | 2010-10-12 10:58:42 -0400 |
commit | 28d8612cf767d42a15c6cc8ee030bdcfab496987 (patch) | |
tree | be56c82c01f3b4e10ad2a38a2d2f8f9939f62a3b /indra/media_plugins/example/CMakeLists.txt | |
parent | a8fbfa40ba6153668e1f713ae0e128224b4f400f (diff) | |
parent | 3f43a36d3430e94046d40cb898a9fd34cce0f7d5 (diff) |
merge up to latest viewer-development
Diffstat (limited to 'indra/media_plugins/example/CMakeLists.txt')
-rw-r--r-- | indra/media_plugins/example/CMakeLists.txt | 8 |
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 ) |