diff options
author | Brad King <brad.king@kitware.com> | 2017-07-13 11:51:11 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-07-13 11:52:09 (GMT) |
commit | a4a39a46c34c1227be999eb10dd39ddeb70ada7b (patch) | |
tree | 47e4b65f2aadd40b6d91a61cdd14833fc7522507 /Tests | |
parent | 47d9772618bd44a9816731cec25255c3d64b0084 (diff) | |
parent | c281acf80768c56bbe12a9f017a856d8e966f084 (diff) | |
download | CMake-a4a39a46c34c1227be999eb10dd39ddeb70ada7b.zip CMake-a4a39a46c34c1227be999eb10dd39ddeb70ada7b.tar.gz CMake-a4a39a46c34c1227be999eb10dd39ddeb70ada7b.tar.bz2 |
Merge topic 'FindProtobuf-protoc-target'
c281acf8 FindProtobuf: add target for protoc
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1045
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/FindProtobuf/Test/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/FindProtobuf/Test/CMakeLists.txt b/Tests/FindProtobuf/Test/CMakeLists.txt index 8b6e38a..10ce976 100644 --- a/Tests/FindProtobuf/Test/CMakeLists.txt +++ b/Tests/FindProtobuf/Test/CMakeLists.txt @@ -30,3 +30,5 @@ add_executable(test_var_protoc main-protoc.cxx) target_include_directories(test_var_protoc PRIVATE ${Protobuf_INCLUDE_DIRS}) target_link_libraries(test_var_protoc PRIVATE ${Protobuf_PROTOC_LIBRARIES}) add_test(NAME test_var_protoc COMMAND test_var_protoc) + +add_test(NAME test_tgt_protoc_version COMMAND protobuf::protoc --version) |