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

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


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

Follow-Ups:
Re: Proposed CMake change, to allow add_subdirectory(cmocka) from parent project.Kristian Theilgaard <kristian.theilgaard@xxxxxxxxx>
References:
Proposed CMake change, to allow add_subdirectory(cmocka) from parent project.Kristian Theilgaard <kristian.theilgaard@xxxxxxxxx>