summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2023-03-06 22:27:10 +0000
committerThiago Macieira <thiago.macieira@intel.com>2023-03-09 03:43:55 +0000
commit630828ad26f4c3ffbddc10daba547919ff404511 (patch)
treebf9a18f103b257ab4c5653708dd3508dd9df8689
parent6c475b413b3edb26897cbc1bd19296d497aaee79 (diff)
Partially revert "Optionally report debuginfod download progress"
This reverts the check for "libdwfl.h" and debuginfod added in commit d432bc71926b1a855e54baabf5216b09b266b5fc and only the check. The code in app/ that depended on this feature remains behind, pending a proper detection of the elfutils content. The problem is that elfutils 0.188 does have libdwfl.h and the symbol that this check checked for, so the test passes. However, nothing provides the CMake target elfutils::debuginfod: elfutils does not ship with CMake files, CMake doesn't have Findelfutis.cmake, and Qt Creator's Findelfutils.cmake doesn't provide this target. Change-Id: Ib1d2fc7100134f7597cdfffd1749f527d965cf18 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
-rw-r--r--CMakeLists.txt3
1 files changed, 0 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 73b1e71..93f9f34 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,9 +22,6 @@ set_package_properties(LibDDemangle PROPERTIES
URL "https://github.com/lievenhey/d_demangler"
TYPE RUNTIME)
-include(CheckSymbolExists)
-set(CMAKE_REQUIRED_LIBRARIES elfutils::dw elfutils::elf)
-check_symbol_exists(dwfl_get_debuginfod_client "libdwfl.h" HAVE_DWFL_GET_DEBUGINFOD_CLIENT)
add_definitions(-DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_USE_QSTRINGBUILDER)
add_subdirectory(app)