[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposed CMake change, to allow add_subdirectory(cmocka) from parent project.


Hi Andreas,

This is very nice, works perfectly. Thank you.


​Best regards,
*Kristian Theilgaard*

2017-08-22 11:03 GMT+02:00 Andreas Schneider <asn@xxxxxxxxxxxxxx>:

> On Thursday, 17 August 2017 09:36:42 CEST Kristian Theilgaard wrote:
> > Hi,
>
> Hi Kristian,
>
> > I wished to add cmocka as a submodule to my project and use it in my
> CMake
> > enabled project. However cmocka has a few ${CMAKE_SOURCE_DIR} variables,
> > referencing the top level project in CMake. This disallows for the
> > inclusion of the project by add_subdirectory(..)
> >
> > I propose the following change which will not change the standalone
> build.
>
> thank you very much for your contribution. I pushed a different version of
> you
> proposed patch to master.
>
> Please check if this works for you.
>
>
> Thanks,
>
>
>         Andreas
>
>
> --
> Andreas Schneider                   GPG-ID: CC014E3D
> www.cryptomilk.org                asn@xxxxxxxxxxxxxx
>