We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db3a9f7 commit f6a8c03Copy full SHA for f6a8c03
src/CMakeLists.txt
@@ -170,16 +170,8 @@ protobuf_generate_cpp(GNS_COMMON_PROTO_SRCS GNS_COMMON_PROTO_HDRS ${GNS_COMMON_P
170
protobuf_generate_cpp(GNS_CLIENTLIB_PROTO_SRCS GNS_CLIENTLIB_PROTO_HDRS ${GNS_CLIENTLIB_PROTOS})
171
172
function(gns_set_target_protobuf_properties TGT )
173
- target_include_directories(${TGT} PRIVATE
174
-
175
- # Only necessary if we're not using protobuf::libprotobuf
176
- # But that's not supported until CMake 3.9
177
- ${Protobuf_INCLUDE_DIRS}
178
- )
179
180
target_link_libraries(${TGT} PUBLIC
181
- # protobuf::libprotobuf
182
- ${PROTOBUF_LIBRARIES}
+ protobuf::libprotobuf
183
Threads::Threads
184
)
185
endfunction()
0 commit comments