diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llcommon/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | indra/llplugin/CMakeLists.txt | 14 | ||||
| -rw-r--r-- | indra/media_plugins/base/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | indra/media_plugins/example/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | indra/media_plugins/gstreamer010/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | indra/media_plugins/webkit/CMakeLists.txt | 4 | 
6 files changed, 17 insertions, 17 deletions
| diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt index feb6d50799..20a6c8d709 100644 --- a/indra/llcommon/CMakeLists.txt +++ b/indra/llcommon/CMakeLists.txt @@ -250,13 +250,13 @@ list(APPEND llcommon_SOURCE_FILES ${llcommon_HEADER_FILES})  if(LLCOMMON_LINK_SHARED)      add_library (llcommon SHARED ${llcommon_SOURCE_FILES}) -    if(NOT CMAKE_SIZEOF_VOID_P MATCHES 4) +    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 CMAKE_SIZEOF_VOID_P MATCHES 4) +    endif(NOT WORD_SIZE EQUAL 32)      ll_stage_sharedlib(llcommon)  else(LLCOMMON_LINK_SHARED)      add_library (llcommon ${llcommon_SOURCE_FILES}) diff --git a/indra/llplugin/CMakeLists.txt b/indra/llplugin/CMakeLists.txt index d9b623d5c0..51cb0d78b4 100644 --- a/indra/llplugin/CMakeLists.txt +++ b/indra/llplugin/CMakeLists.txt @@ -48,13 +48,13 @@ set(llplugin_HEADER_FILES  set_source_files_properties(${llplugin_HEADER_FILES}                              PROPERTIES HEADER_FILE_ONLY TRUE) -if(NOT CMAKE_SIZEOF_VOID_P MATCHES 4) -	if(WINDOWS) -		add_definitions(/FIXED:NO) -	else(WINDOWS) # not windows therefore gcc LINUX and DARWIN -		add_definitions(-fPIC) -	endif(WINDOWS) -endif (NOT CMAKE_SIZEOF_VOID_P MATCHES 4) +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}) diff --git a/indra/media_plugins/base/CMakeLists.txt b/indra/media_plugins/base/CMakeLists.txt index 16fd024139..3ad94b0c64 100644 --- a/indra/media_plugins/base/CMakeLists.txt +++ b/indra/media_plugins/base/CMakeLists.txt @@ -25,13 +25,13 @@ include_directories(  ### media_plugin_base -if(NOT CMAKE_SIZEOF_VOID_P MATCHES 4) +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 CMAKE_SIZEOF_VOID_P MATCHES 4) +endif(NOT WORD_SIZE EQUAL 32)  set(media_plugin_base_SOURCE_FILES      media_plugin_base.cpp diff --git a/indra/media_plugins/example/CMakeLists.txt b/indra/media_plugins/example/CMakeLists.txt index 7e4cdb0daf..56cefde4bd 100644 --- a/indra/media_plugins/example/CMakeLists.txt +++ b/indra/media_plugins/example/CMakeLists.txt @@ -29,13 +29,13 @@ include_directories(  ### media_plugin_example -if(NOT CMAKE_SIZEOF_VOID_P MATCHES 4) +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 CMAKE_SIZEOF_VOID_P MATCHES 4) +endif(NOT WORD_SIZE EQUAL 32)  set(media_plugin_example_SOURCE_FILES      media_plugin_example.cpp diff --git a/indra/media_plugins/gstreamer010/CMakeLists.txt b/indra/media_plugins/gstreamer010/CMakeLists.txt index d6d697ba81..ba66166c55 100644 --- a/indra/media_plugins/gstreamer010/CMakeLists.txt +++ b/indra/media_plugins/gstreamer010/CMakeLists.txt @@ -30,13 +30,13 @@ include_directories(  ### media_plugin_gstreamer010 -if(NOT CMAKE_SIZEOF_VOID_P MATCHES 4) +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 CMAKE_SIZEOF_VOID_P MATCHES 4) +endif(NOT WORD_SIZE EQUAL 32)  set(media_plugin_gstreamer010_SOURCE_FILES      media_plugin_gstreamer010.cpp diff --git a/indra/media_plugins/webkit/CMakeLists.txt b/indra/media_plugins/webkit/CMakeLists.txt index 2073ee00de..673e059c34 100644 --- a/indra/media_plugins/webkit/CMakeLists.txt +++ b/indra/media_plugins/webkit/CMakeLists.txt @@ -29,13 +29,13 @@ include_directories(  ### media_plugin_webkit -if(NOT CMAKE_SIZEOF_VOID_P MATCHES 4) +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 CMAKE_SIZEOF_VOID_P MATCHES 4) +endif(NOT WORD_SIZE EQUAL 32)  set(media_plugin_webkit_SOURCE_FILES      media_plugin_webkit.cpp | 
