Commit d7885ed8 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #12482 from GeorgeMironov:protobuf-cmake-fix

parents b9fd5f81 8e078164
...@@ -50,7 +50,8 @@ else() ...@@ -50,7 +50,8 @@ else()
add_library(libprotobuf UNKNOWN IMPORTED) add_library(libprotobuf UNKNOWN IMPORTED)
set_target_properties(libprotobuf PROPERTIES set_target_properties(libprotobuf PROPERTIES
IMPORTED_LOCATION "${Protobuf_LIBRARY}" IMPORTED_LOCATION "${Protobuf_LIBRARY}"
INTERFACE_INCLUDE_SYSTEM_DIRECTORIES "${Protobuf_INCLUDE_DIR}" INTERFACE_INCLUDE_DIRECTORIES "${Protobuf_INCLUDE_DIR}"
INTERFACE_SYSTEM_INCLUDE_DIRECTORIES "${Protobuf_INCLUDE_DIR}"
) )
get_protobuf_version(Protobuf_VERSION "${Protobuf_INCLUDE_DIR}") get_protobuf_version(Protobuf_VERSION "${Protobuf_INCLUDE_DIR}")
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment