Re: [CMake] ExternalProject can't have interface library as a dependency

2015-04-18 Thread Andrey Pokrovskiy
> That sounds odd. What provides it as an INTERFACE library? Me :) I created that target with add_library(openssl INTERFACE). I think I better ask the same question on dev list, since it's mostly details of get_property() implementation. On Sat, Apr 18, 2015 at 2:32 AM, Stephen Kelly wrote: > A

Re: [CMake] ExternalProject can't have interface library as a dependency

2015-04-18 Thread Stephen Kelly
Andrey Pokrovskiy wrote: > /* I'm using cmake-3.2.20150331-gb190c. */ > > I have a following construction: > > ExternalProject_Add( > websockets_ep > DEPENDS ev openssl > ...) > > But it so happened, that "openssl" is a INTERFACE library. That sounds odd. What provides

[CMake] ExternalProject can't have interface library as a dependency

2015-04-16 Thread Andrey Pokrovskiy
/* I'm using cmake-3.2.20150331-gb190c. */ I have a following construction: ExternalProject_Add( websockets_ep DEPENDS ev openssl ...) But it so happened, that "openssl" is a INTERFACE library. Because of that I get an obscure error: CMake Error at /usr/share/cmake/shar