ExternalProject can't have interface library as a dependency
/* I'm using cmake-3.2.20150331-gb190c. */
I have a following construction:
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/share/cmake-3.2/Modules/ExternalProject.cmake:2031
INTERFACE_LIBRARY targets may only have whitelisted properties. The
property "_EP_IS_EXTERNAL_PROJECT" is not allowed.
Call Stack (most recent call first):
Apparently because there is a check inside get_property() that
whitelists what properties could be queried.
Maybe we don't need a whitelist for get_property()? :)
Re: ExternalProject can't have interface library as a dependency
Andrey Pokrovskiy wrote:
> /* I'm using cmake-3.2.20150331-gb190c. */
> I have a following construction:
> DEPENDS ev openssl
> But it so happened, that "openssl" is a INTERFACE library.
That sounds odd. What provides it as an INTERFACE library?