summaryrefslogtreecommitdiff
path: root/indra/linux_crash_logger/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'indra/linux_crash_logger/CMakeLists.txt')
-rw-r--r--indra/linux_crash_logger/CMakeLists.txt29
1 files changed, 3 insertions, 26 deletions
diff --git a/indra/linux_crash_logger/CMakeLists.txt b/indra/linux_crash_logger/CMakeLists.txt
index a3a4d6be0b..ab62a0d0af 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)
@@ -39,7 +38,7 @@ list(APPEND linux_crash_logger_SOURCE_FILES
${linux_crash_logger_HEADER_FILES}
)
-list(APPEND CMAKE_EXE_LINKER_FLAGS -Wl,--as-needed)
+set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--as-needed")
add_executable(linux-crash-logger ${linux_crash_logger_SOURCE_FILES})
@@ -52,30 +51,8 @@ target_link_libraries(linux-crash-logger
${LLMATH_LIBRARIES}
${LLCOMMON_LIBRARIES}
${UI_LIBRARIES}
- ${BOOST_SIGNALS_LIBRARY}
${DB_LIBRARIES}
)
-add_custom_command(
- OUTPUT linux-crash-logger-stripped-globalsyms
- COMMAND strip
- ARGS --strip-debug -o linux-crash-logger-stripped-globalsyms
- linux-crash-logger
- DEPENDS linux-crash-logger
- )
-
-add_custom_command(
- OUTPUT linux-crash-logger-stripped
- COMMAND objcopy
- ARGS
- --keep-global-symbols
- ${VIEWER_DIR}/newview/linux_tools/exposed-symbols.txt
- linux-crash-logger-stripped-globalsyms
- linux-crash-logger-stripped
- DEPENDS
- linux-crash-logger-stripped-globalsyms
- ${VIEWER_DIR}/newview/linux_tools/exposed-symbols.txt
- )
-
-add_custom_target(linux-crash-logger-stripped ALL
- DEPENDS linux-crash-logger-stripped)
+add_custom_target(linux-crash-logger-target ALL
+ DEPENDS linux-crash-logger)