Internal change

PiperOrigin-RevId: 251404733
Change-Id: Iaa53a1c14e7818dae4ae247bfefb2cba4498ba4d
This commit is contained in:
Christian Blichmann 2019-06-04 03:02:44 -07:00 committed by Copybara-Service
parent 719cd24933
commit 9351e02182

View File

@ -75,8 +75,12 @@ configure_file(cmake/libunwind_ptrace.h.in
external/org_gnu_libunwind/include/libunwind-ptrace.h external/org_gnu_libunwind/include/libunwind-ptrace.h
@ONLY) @ONLY)
# Interface library with basic project settings # Library with basic project settings. The empty file is there to be able to
add_library(sapi_base INTERFACE) # define header-only libraries without cumbersome target_sources() hacks.
file(TOUCH sapi_base_force_cxx_linkage.cc)
add_library(sapi_base STATIC
sapi_base_force_cxx_linkage.cc
)
add_library(sapi::base ALIAS sapi_base) add_library(sapi::base ALIAS sapi_base)
target_include_directories(sapi_base INTERFACE target_include_directories(sapi_base INTERFACE
${PROJECT_BINARY_DIR} ${PROJECT_BINARY_DIR}