mirror of
https://github.com/mhx/dwarfs.git
synced 2025-08-03 17:56:12 -04:00
feat(library_dependencies): show cpptrace
version
This commit is contained in:
parent
1fec8314da
commit
9df36db4d1
@ -42,6 +42,10 @@
|
|||||||
|
|
||||||
#include <dwarfs/config.h>
|
#include <dwarfs/config.h>
|
||||||
|
|
||||||
|
#ifdef DWARFS_STACKTRACE_ENABLED
|
||||||
|
#include <cpptrace/version.hpp>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include <dwarfs/library_dependencies.h>
|
#include <dwarfs/library_dependencies.h>
|
||||||
|
|
||||||
namespace dwarfs {
|
namespace dwarfs {
|
||||||
@ -115,6 +119,10 @@ void library_dependencies::add_common_libraries() {
|
|||||||
add_library("libboost", BOOST_VERSION, version_format::boost);
|
add_library("libboost", BOOST_VERSION, version_format::boost);
|
||||||
add_library("phmap", PHMAP_VERSION_MAJOR, PHMAP_VERSION_MINOR,
|
add_library("phmap", PHMAP_VERSION_MAJOR, PHMAP_VERSION_MINOR,
|
||||||
PHMAP_VERSION_PATCH);
|
PHMAP_VERSION_PATCH);
|
||||||
|
#ifdef DWARFS_STACKTRACE_ENABLED
|
||||||
|
add_library("cpptrace", CPPTRACE_VERSION_MAJOR, CPPTRACE_VERSION_MINOR,
|
||||||
|
CPPTRACE_VERSION_PATCH);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string library_dependencies::as_string() const {
|
std::string library_dependencies::as_string() const {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user