mirror of
https://github.com/google/sandboxed-api.git
synced 2024-03-22 13:11:30 +08:00
Jsonnet: Move to contrib/
This commit is contained in:
parent
5c7226ced2
commit
1a02c75bed
|
@ -28,7 +28,7 @@ FetchContent_Declare(jsonnet
|
|||
GIT_REPOSITORY https://github.com/google/jsonnet.git
|
||||
GIT_TAG v0.18.0 # 2021-12-21
|
||||
)
|
||||
set(BUILD_TESTS OFF)
|
||||
set(BUILD_TESTS OFF CACHE BOOL "") # Do not build jsonnet tests
|
||||
FetchContent_MakeAvailable(jsonnet)
|
||||
create_directory_symlink("${jsonnet_SOURCE_DIR}"
|
||||
"${PROJECT_BINARY_DIR}/jsonnet")
|
|
@ -23,9 +23,9 @@ add_custom_target(test_preparation ALL
|
|||
)
|
||||
|
||||
add_executable(tests
|
||||
${PROJECT_SOURCE_DIR}/headers/jsonnet_tests.h
|
||||
jsonnet_test_helper.cc
|
||||
jsonnet_test_helper.h
|
||||
jsonnet_tests.cc
|
||||
jsonnet_tests_utils.cc
|
||||
)
|
||||
|
||||
target_include_directories(tests PUBLIC
|
Loading…
Reference in New Issue
Block a user