diff options
| author | Merov Linden <merov@lindenlab.com> | 2010-10-27 23:40:35 -0700 | 
|---|---|---|
| committer | Merov Linden <merov@lindenlab.com> | 2010-10-27 23:40:35 -0700 | 
| commit | dac53830f1a67c8657ced9c39eccedbadf149bd9 (patch) | |
| tree | 66c6640dc1369174cf12a392f30ef0c435a0ae51 /indra/newview | |
| parent | e3ecffc180ae50a0e8b726a061ec39cbe591326e (diff) | |
STORM-104 : make kdu statically linked, suppress the need for llkdu
Diffstat (limited to 'indra/newview')
| -rw-r--r-- | indra/newview/CMakeLists.txt | 18 | 
1 files changed, 11 insertions, 7 deletions
| diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index e9fb23d19e..c64184aa33 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1440,11 +1440,6 @@ if (WINDOWS)      # In the meantime, if you have any ideas on how to easily maintain one list, either here or in viewer_manifest.py      # and have the build deps get tracked *please* tell me about it. -    if(LLKDU_LIBRARY) -      # Configure a var for llkdu which may not exist for all builds. -      set(LLKDU_DLL_SOURCE ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/llkdu.dll) -    endif(LLKDU_LIBRARY) -      if(USE_GOOGLE_PERFTOOLS)        # Configure a var for tcmalloc location, if used.        # Note the need to specify multiple names explicitly. @@ -1461,7 +1456,6 @@ if (WINDOWS)        #${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/libtcmalloc_minimal.dll => None ... Skipping libtcmalloc_minimal.dll        ${CMAKE_SOURCE_DIR}/../etc/message.xml        ${CMAKE_SOURCE_DIR}/../scripts/messages/message_template.msg -      ${LLKDU_DLL_SOURCE}        ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/llcommon.dll        ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/libapr-1.dll        ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/libaprutil-1.dll @@ -1638,7 +1632,6 @@ target_link_libraries(${VIEWER_BINARY_NAME}      ${LLAUDIO_LIBRARIES}      ${LLCHARACTER_LIBRARIES}      ${LLIMAGE_LIBRARIES} -    ${LLIMAGEJ2COJ_LIBRARIES}      ${LLINVENTORY_LIBRARIES}      ${LLMESSAGE_LIBRARIES}      ${LLPLUGIN_LIBRARIES} @@ -1674,6 +1667,17 @@ target_link_libraries(${VIEWER_BINARY_NAME}      ${GOOGLE_PERFTOOLS_LIBRARIES}      ) +if (LLKDU_LIBRARY) +    target_link_libraries(${VIEWER_BINARY_NAME} +        ${LLKDU_STATIC_LIBRARIES} +        ${KDU_LIBRARY} +        ) +else (LLKDU_LIBRARY) +    target_link_libraries(${VIEWER_BINARY_NAME} +        ${LLIMAGEJ2COJ_LIBRARIES} +        ) +endif (LLKDU_LIBRARY) +      build_version(viewer)  set(ARTWORK_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE PATH | 
