Jsonnet: Move to contrib/

This commit is contained in:
Christian Blichmann 2022-01-27 11:43:05 +01:00
parent 5c7226ced2
commit 1a02c75bed
29 changed files with 3 additions and 3 deletions

View File

@ -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")

View File

@ -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