diff options
author | André Apitzsch <andre.apitzsch@etit.tu-chemnitz.de> | 2017-07-11 13:20:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-07-12 17:48:22 (GMT) |
commit | c281acf80768c56bbe12a9f017a856d8e966f084 (patch) | |
tree | f704a8dc8b1328f0b02ff2a3eaa1174863afaf89 /Tests/FindProtobuf | |
parent | 107a92ea9a784d283b8d6d35a8c9bd93db8cd06d (diff) | |
download | CMake-c281acf80768c56bbe12a9f017a856d8e966f084.zip CMake-c281acf80768c56bbe12a9f017a856d8e966f084.tar.gz CMake-c281acf80768c56bbe12a9f017a856d8e966f084.tar.bz2 |
FindProtobuf: add target for protoc
Diffstat (limited to 'Tests/FindProtobuf')
-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) |