summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan O'Sullivan <bos@lindenlab.com>2008-08-29 21:46:30 +0000
committerBryan O'Sullivan <bos@lindenlab.com>2008-08-29 21:46:30 +0000
commit1496c3d0eee43223ad9714b06ee94e334c730731 (patch)
tree7d2be99bdd17f2f1370c4425a6268922d8866e8b
parenteb65aca9f8aaa1ce67a221dcfecce240f1bb59a5 (diff)
Switch llimage and llxml to target_link_libraries
-rw-r--r--indra/cmake/LLImage.cmake6
-rw-r--r--indra/cmake/LLXML.cmake7
-rw-r--r--indra/linux_crash_logger/CMakeLists.txt2
-rw-r--r--indra/llimage/CMakeLists.txt5
-rw-r--r--indra/llxml/CMakeLists.txt5
-rw-r--r--indra/mac_crash_logger/CMakeLists.txt2
-rw-r--r--indra/newview/CMakeLists.txt1
7 files changed, 14 insertions, 14 deletions
diff --git a/indra/cmake/LLImage.cmake b/indra/cmake/LLImage.cmake
index 8874fa54a8..ec3da89081 100644
--- a/indra/cmake/LLImage.cmake
+++ b/indra/cmake/LLImage.cmake
@@ -8,8 +8,4 @@ set(LLIMAGE_INCLUDE_DIRS
${JPEG_INCLUDE_DIRS}
)
-set(LLIMAGE_LIBRARIES
- llimage
- ${JPEG_LIBRARIES}
- ${PNG_LIBRARIES}
- )
+set(LLIMAGE_LIBRARIES llimage)
diff --git a/indra/cmake/LLXML.cmake b/indra/cmake/LLXML.cmake
index 1ce93c0abc..64dfdb604f 100644
--- a/indra/cmake/LLXML.cmake
+++ b/indra/cmake/LLXML.cmake
@@ -1,13 +1,12 @@
# -*- cmake -*-
+include(Boost)
include(EXPAT)
set(LLXML_INCLUDE_DIRS
${LIBS_OPEN_DIR}/llxml
+ ${Boost_INCLUDE_DIRS}
${EXPAT_INCLUDE_DIRS}
)
-set(LLXML_LIBRARIES
- llxml
- ${EXPAT_LIBRARIES}
- )
+set(LLXML_LIBRARIES llxml)
diff --git a/indra/linux_crash_logger/CMakeLists.txt b/indra/linux_crash_logger/CMakeLists.txt
index 628d4acefc..d03487b01b 100644
--- a/indra/linux_crash_logger/CMakeLists.txt
+++ b/indra/linux_crash_logger/CMakeLists.txt
@@ -3,7 +3,6 @@
project(linux_crash_logger)
include(00-Common)
-include(Boost)
include(LLCommon)
include(LLCrashLogger)
include(LLMath)
@@ -52,7 +51,6 @@ target_link_libraries(linux-crash-logger
${LLMATH_LIBRARIES}
${LLCOMMON_LIBRARIES}
${UI_LIBRARIES}
- ${BOOST_SIGNALS_LIBRARY}
${DB_LIBRARIES}
)
diff --git a/indra/llimage/CMakeLists.txt b/indra/llimage/CMakeLists.txt
index 5593b4a0cb..3864d585dc 100644
--- a/indra/llimage/CMakeLists.txt
+++ b/indra/llimage/CMakeLists.txt
@@ -48,3 +48,8 @@ set_source_files_properties(${llimage_HEADER_FILES}
list(APPEND llimage_SOURCE_FILES ${llimage_HEADER_FILES})
add_library (llimage ${llimage_SOURCE_FILES})
+target_link_libraries(
+ llimage
+ ${JPEG_LIBRARIES}
+ ${PNG_LIBRARIES}
+ )
diff --git a/indra/llxml/CMakeLists.txt b/indra/llxml/CMakeLists.txt
index d86bc0d564..9febd9775d 100644
--- a/indra/llxml/CMakeLists.txt
+++ b/indra/llxml/CMakeLists.txt
@@ -34,3 +34,8 @@ set_source_files_properties(${llxml_HEADER_FILES}
list(APPEND llxml_SOURCE_FILES ${llxml_HEADER_FILES})
add_library (llxml ${llxml_SOURCE_FILES})
+target_link_libraries(
+ llxml
+ ${BOOST_SIGNALS_LIBRARY}
+ ${EXPAT_LIBRARIES}
+ )
diff --git a/indra/mac_crash_logger/CMakeLists.txt b/indra/mac_crash_logger/CMakeLists.txt
index 9cddb562f7..3912595689 100644
--- a/indra/mac_crash_logger/CMakeLists.txt
+++ b/indra/mac_crash_logger/CMakeLists.txt
@@ -3,7 +3,6 @@
project(mac_crash_logger)
include(00-Common)
-include(Boost)
include(LLCommon)
include(LLCrashLogger)
include(LLMath)
@@ -64,7 +63,6 @@ target_link_libraries(mac-crash-logger
${LLVFS_LIBRARIES}
${LLMATH_LIBRARIES}
${LLCOMMON_LIBRARIES}
- ${BOOST_SIGNALS_LIBRARY}
)
add_custom_command(
diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt
index 9a01a84de8..c22911f316 100644
--- a/indra/newview/CMakeLists.txt
+++ b/indra/newview/CMakeLists.txt
@@ -1376,7 +1376,6 @@ target_link_libraries(secondlife-bin
${viewer_LIBRARIES}
${BOOST_PROGRAM_OPTIONS_LIBRARY}
${BOOST_REGEX_LIBRARY}
- ${BOOST_SIGNALS_LIBRARY}
${OPENGL_LIBRARIES}
${FMODWRAPPER_LIBRARY}
${OPENGL_LIBRARIES}