Re: [protobuf] Possible Protbuf cmake problem, or cmake bug

2016-05-16 Thread Robert Bielik
Hi Feng, Den måndag 16 maj 2016 kl. 22:32:06 UTC+2 skrev Feng Xiao: > > > > Could you create a github issue for this? We are happy to accept a pull > request if you have found a workaround for this problem. > The only workaround so far though, is to omit the "include(install.cmake)" line. But

Re: [protobuf] Possible Protbuf cmake problem, or cmake bug

2016-05-16 Thread 'Feng Xiao' via Protocol Buffers
On Sun, May 15, 2016 at 12:46 AM, Robert Bielik wrote: > Hi all, > > I'm using protobuf in our CMake based projects, and I've encountered a > problem with TARGET_INCLUDE_DIRECTORIES not working as expected. Nominally > if my target APP depens on libprotobuf, the PUBLIC

[protobuf] Possible Protbuf cmake problem, or cmake bug

2016-05-16 Thread Robert Bielik
Hi all, I'm using protobuf in our CMake based projects, and I've encountered a problem with TARGET_INCLUDE_DIRECTORIES not working as expected. Nominally if my target APP depens on libprotobuf, the PUBLIC part of TARGET_INCLUDE_DIRECTORIES should propagate to target APP. This does not work