Updated CMakeLists.txt.

pull/13171/head
Josh Haberman 6 years ago
parent 9dd2446531
commit 9f5dec1c05
  1. 4
      CMakeLists.txt

@ -151,6 +151,7 @@ add_executable(test_cpp
tests/test_cpp.cc) tests/test_cpp.cc)
add_test(NAME test_cpp COMMAND test_cpp) add_test(NAME test_cpp COMMAND test_cpp)
target_link_libraries(test_cpp target_link_libraries(test_cpp
test_cpp_upbproto
upb upb
upb_pb upb_pb
upb_test) upb_test)
@ -161,11 +162,10 @@ target_link_libraries(test_table
upb upb
upb_test) upb_test)
add_executable(test_json add_executable(test_json
tests/json/test.upbdefs.c
tests/json/test.upbdefs.h
tests/json/test_json.cc) tests/json/test_json.cc)
add_test(NAME test_json COMMAND test_json) add_test(NAME test_json COMMAND test_json)
target_link_libraries(test_json target_link_libraries(test_json
test_json_upbproto
upb_json upb_json
upb_test) upb_test)

Loading…
Cancel
Save