mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Fix dependencies in add_sapi_library
PiperOrigin-RevId: 350307675 Change-Id: Ib3a085ad214690083fcf23a791f194c37223da11
This commit is contained in:
parent
3e8a60c5b1
commit
a59cb96d52
|
@ -190,12 +190,15 @@ function(add_sapi_library)
|
||||||
"${_sapi_gen_header}"
|
"${_sapi_gen_header}"
|
||||||
${_sapi_SOURCES}
|
${_sapi_SOURCES}
|
||||||
)
|
)
|
||||||
target_link_libraries("${_sapi_NAME}" PRIVATE
|
target_link_libraries("${_sapi_NAME}" PUBLIC
|
||||||
|
absl::status
|
||||||
|
absl::statusor
|
||||||
sapi::sapi
|
sapi::sapi
|
||||||
|
sapi::status
|
||||||
sapi::vars
|
sapi::vars
|
||||||
)
|
)
|
||||||
if(NOT _sapi_NOEMBED)
|
if(NOT _sapi_NOEMBED)
|
||||||
target_link_libraries("${_sapi_NAME}" PRIVATE
|
target_link_libraries("${_sapi_NAME}" PUBLIC
|
||||||
"${_sapi_embed}"
|
"${_sapi_embed}"
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user