aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorArmin Weatherwax2011-05-17 09:32:59 +0200
committerJacek Antonelli2011-05-17 17:40:34 -0500
commit37922d49b167ba282312d58628e59a60f07b01be (patch)
tree40545a71e19d825f6463640655f6a679b9a830a5 /linden/indra
parentfix llerrs crash "Vertex buffer destroyed while mapped!" (diff)
downloadmeta-impy-37922d49b167ba282312d58628e59a60f07b01be.zip
meta-impy-37922d49b167ba282312d58628e59a60f07b01be.tar.gz
meta-impy-37922d49b167ba282312d58628e59a60f07b01be.tar.bz2
meta-impy-37922d49b167ba282312d58628e59a60f07b01be.tar.xz
also link with ld.gold
thanks to Aleric and Siana for the idea
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/cmake/LLWindow.cmake3
-rw-r--r--linden/indra/llcommon/CMakeLists.txt10
-rw-r--r--linden/indra/llmessage/CMakeLists.txt10
3 files changed, 21 insertions, 2 deletions
diff --git a/linden/indra/cmake/LLWindow.cmake b/linden/indra/cmake/LLWindow.cmake
index 1023693..345359a 100644
--- a/linden/indra/cmake/LLWindow.cmake
+++ b/linden/indra/cmake/LLWindow.cmake
@@ -45,4 +45,7 @@ else (SERVER AND LINUX)
45 comdlg32 45 comdlg32
46 ) 46 )
47 endif (WINDOWS) 47 endif (WINDOWS)
48 if (LINUX)
49 list(APPEND LLWINDOW_LIBRARIES fontconfig)
50 endif (LINUX)
48endif (SERVER AND LINUX) 51endif (SERVER AND LINUX)
diff --git a/linden/indra/llcommon/CMakeLists.txt b/linden/indra/llcommon/CMakeLists.txt
index 3f14be6..0a50852 100644
--- a/linden/indra/llcommon/CMakeLists.txt
+++ b/linden/indra/llcommon/CMakeLists.txt
@@ -189,10 +189,18 @@ set_source_files_properties(${llcommon_HEADER_FILES}
189list(APPEND llcommon_SOURCE_FILES ${llcommon_HEADER_FILES}) 189list(APPEND llcommon_SOURCE_FILES ${llcommon_HEADER_FILES})
190 190
191add_library (llcommon ${llcommon_SOURCE_FILES}) 191add_library (llcommon ${llcommon_SOURCE_FILES})
192target_link_libraries( 192set (llcommon_link_LIBRARIES
193 llcommon 193 llcommon
194 ${APRUTIL_LIBRARIES} 194 ${APRUTIL_LIBRARIES}
195 ${APR_LIBRARIES} 195 ${APR_LIBRARIES}
196 ${EXPAT_LIBRARIES} 196 ${EXPAT_LIBRARIES}
197 ${ZLIB_LIBRARIES} 197 ${ZLIB_LIBRARIES}
198 ) 198 )
199
200if (LINUX)
201 list(APPEND llcommon_link_LIBRARIES rt)
202endif (LINUX)
203
204target_link_libraries(
205 ${llcommon_link_LIBRARIES}
206 )
diff --git a/linden/indra/llmessage/CMakeLists.txt b/linden/indra/llmessage/CMakeLists.txt
index 0f3e159..88233b9 100644
--- a/linden/indra/llmessage/CMakeLists.txt
+++ b/linden/indra/llmessage/CMakeLists.txt
@@ -201,13 +201,21 @@ set_source_files_properties(${llmessage_HEADER_FILES}
201list(APPEND llmessage_SOURCE_FILES ${llmessage_HEADER_FILES}) 201list(APPEND llmessage_SOURCE_FILES ${llmessage_HEADER_FILES})
202 202
203add_library (llmessage ${llmessage_SOURCE_FILES}) 203add_library (llmessage ${llmessage_SOURCE_FILES})
204target_link_libraries( 204set (llmessage_link_LIBRARIES
205 llmessage 205 llmessage
206 ${CURL_LIBRARIES} 206 ${CURL_LIBRARIES}
207 ${CARES_LIBRARIES} 207 ${CARES_LIBRARIES}
208 ${OPENSSL_LIBRARIES} 208 ${OPENSSL_LIBRARIES}
209 ${CRYPTO_LIBRARIES} 209 ${CRYPTO_LIBRARIES}
210 ${XMLRPCEPI_LIBRARIES} 210 ${XMLRPCEPI_LIBRARIES}
211)
212if (LINUX)
213 list(APPEND llmessage_link_LIBRARIES pthread)
214endif (LINUX)
215
216target_link_libraries(
217 ${llmessage_link_LIBRARIES}
218
211 ) 219 )
212 220
213IF (NOT LINUX AND VIEWER) 221IF (NOT LINUX AND VIEWER)