mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Honor SAPI_ENABLE_TESTS in examples
PiperOrigin-RevId: 259927061 Change-Id: I7ae2156630c60e54ba0d9933d03816d750db31f3
This commit is contained in:
parent
ef7592cfdd
commit
1b93745d00
|
@ -14,6 +14,7 @@
|
|||
|
||||
add_subdirectory(lib)
|
||||
|
||||
if(SAPI_ENABLE_TESTS)
|
||||
# sandboxed_api/examples/stringop:main_stringop
|
||||
add_executable(main_stringop
|
||||
main_stringop.cc
|
||||
|
@ -31,3 +32,4 @@ target_link_libraries(main_stringop PRIVATE
|
|||
sapi::vars
|
||||
)
|
||||
gtest_discover_tests(main_stringop)
|
||||
endif()
|
||||
|
|
Loading…
Reference in New Issue
Block a user