diff options
author | McCabe Maxsted | 2010-09-07 17:59:58 -0700 |
---|---|---|
committer | Armin Weatherwax | 2010-09-23 15:38:28 +0200 |
commit | 891b747e8b6aa0b9e4a99311804438b37c8c05b4 (patch) | |
tree | 02f1aab528e5af5a29accb22f716699eb7e4062c /linden/indra/llplugin | |
parent | Added missing plugins notifications (diff) | |
download | meta-impy-891b747e8b6aa0b9e4a99311804438b37c8c05b4.zip meta-impy-891b747e8b6aa0b9e4a99311804438b37c8c05b4.tar.gz meta-impy-891b747e8b6aa0b9e4a99311804438b37c8c05b4.tar.bz2 meta-impy-891b747e8b6aa0b9e4a99311804438b37c8c05b4.tar.xz |
CMake now runs correctly on Windows
Diffstat (limited to 'linden/indra/llplugin')
-rw-r--r-- | linden/indra/llplugin/CMakeLists.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/linden/indra/llplugin/CMakeLists.txt b/linden/indra/llplugin/CMakeLists.txt index 6706775..e41cdf7 100644 --- a/linden/indra/llplugin/CMakeLists.txt +++ b/linden/indra/llplugin/CMakeLists.txt | |||
@@ -48,6 +48,14 @@ set(llplugin_HEADER_FILES | |||
48 | set_source_files_properties(${llplugin_HEADER_FILES} | 48 | set_source_files_properties(${llplugin_HEADER_FILES} |
49 | PROPERTIES HEADER_FILE_ONLY TRUE) | 49 | PROPERTIES HEADER_FILE_ONLY TRUE) |
50 | 50 | ||
51 | if(WORD_SIZE EQUAL 64) | ||
52 | if(WINDOWS) | ||
53 | add_definitions(/FIXED:NO) | ||
54 | else(WINDOWS) # not windows therefore gcc LINUX and DARWIN | ||
55 | add_definitions(-fPIC) | ||
56 | endif(WINDOWS) | ||
57 | endif (WORD_SIZE EQUAL 64) | ||
58 | |||
51 | list(APPEND llplugin_SOURCE_FILES ${llplugin_HEADER_FILES}) | 59 | list(APPEND llplugin_SOURCE_FILES ${llplugin_HEADER_FILES}) |
52 | 60 | ||
53 | add_library (llplugin ${llplugin_SOURCE_FILES}) | 61 | add_library (llplugin ${llplugin_SOURCE_FILES}) |