Commit 755467c4 by Ben Clayton

Add libbacktrace submodule.

Change-Id: I40db6373718504cd2df3e328cefecb394e47e5c1 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/27783Reviewed-by: 's avatarNicolas Capens <nicolascapens@google.com> Tested-by: 's avatarBen Clayton <bclayton@google.com> Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
parent f45b3881
[submodule "third_party/googletest"]
path = third_party/googletest
url = https://github.com/google/googletest.git
[submodule "third_party/libbacktrace/src"]
path = third_party/libbacktrace/src
url = https://github.com/ianlancetaylor/libbacktrace.git
......@@ -123,6 +123,17 @@ if (NOT TARGET gtest)
endif()
endif()
if (NOT TARGET libbacktrace)
if(NOT EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/third_party/libbacktrace/src/.git)
message(WARNING "
third_party/libbacktrace/src submodule missing.
Running 'git submodule update --init' to download it:
")
execute_process(COMMAND git submodule update --init)
endif()
endif()
###########################################################
# Convenience macros
###########################################################
......
Subproject commit 5a99ff7fed66b8ea8f09c9805c138524a7035ece
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment