diff options
author | Vincent Ambo <tazjin@google.com> | 2020-05-29T20·51+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-05-29T21·04+0100 |
commit | e494a347b52c96543eec91bc73756a22fe336292 (patch) | |
tree | 339e96bae727d5d30a8a651a8ffac4975f6ddb88 /third_party/nix/CMakeLists.txt | |
parent | 6302a89c6daf1e3303fc53206fd15a2e581eb916 (diff) |
fix(3p/nix): Build glog as included CMake project r/870
Diffstat (limited to 'third_party/nix/CMakeLists.txt')
-rw-r--r-- | third_party/nix/CMakeLists.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/third_party/nix/CMakeLists.txt b/third_party/nix/CMakeLists.txt index fb7076aa5f41..88a23cd8805c 100644 --- a/third_party/nix/CMakeLists.txt +++ b/third_party/nix/CMakeLists.txt @@ -11,7 +11,6 @@ find_package(Boost COMPONENTS context) # probably coroutine + ::headers, lets fi find_package(CURL) find_package(SQLite3) find_package(Threads) -find_package(glog) find_package(LibLZMA) # Abseil really doesn't like being precompiled. It is included here as @@ -24,6 +23,12 @@ find_package(LibLZMA) # link to the Abseil sources in the Nix store. add_subdirectory(abseil_cpp) +# Linking precompiled glog binaries (linked against libstdc++) leads +# to working binaries that do not output log messages. It seems that +# in order to use glog with LLVM & libc++, one needs to make glog a +# part of the local project build. +add_subdirectory(glog) + # generate a configuration file (autoheader-style) to configure # certain symbols that Nix depends on. configure_file(config.h.in nix_config.h @ONLY) |