diff options
Diffstat (limited to 'Tests/FindProtobuf')
-rw-r--r-- | Tests/FindProtobuf/Test/CMakeLists.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Tests/FindProtobuf/Test/CMakeLists.txt b/Tests/FindProtobuf/Test/CMakeLists.txt index d7a5081..8b6e38a 100644 --- a/Tests/FindProtobuf/Test/CMakeLists.txt +++ b/Tests/FindProtobuf/Test/CMakeLists.txt @@ -5,7 +5,7 @@ include(CTest) find_package(Protobuf REQUIRED) add_executable(test_tgt main.cxx) -target_link_libraries(test_tgt Protobuf::protobuf) +target_link_libraries(test_tgt protobuf::libprotobuf) add_test(NAME test_tgt COMMAND test_tgt) add_executable(test_var main.cxx) @@ -14,7 +14,7 @@ target_link_libraries(test_var PRIVATE ${Protobuf_LIBRARIES}) add_test(NAME test_var COMMAND test_var) add_executable(test_tgt_lite main.cxx) -target_link_libraries(test_tgt_lite Protobuf::protobuf-lite) +target_link_libraries(test_tgt_lite protobuf::libprotobuf-lite) add_test(NAME test_tgt_lite COMMAND test_tgt_lite) add_executable(test_var_lite main.cxx) @@ -23,7 +23,7 @@ target_link_libraries(test_var_lite PRIVATE ${Protobuf_LITE_LIBRARIES}) add_test(NAME test_var_lite COMMAND test_var_lite) add_executable(test_tgt_protoc main-protoc.cxx) -target_link_libraries(test_tgt_protoc Protobuf::protoc) +target_link_libraries(test_tgt_protoc protobuf::libprotoc) add_test(NAME test_tgt_protoc COMMAND test_tgt_protoc) add_executable(test_var_protoc main-protoc.cxx) |