[cmake-developers] Namespaces

Pau Garcia i Quiles pgquiles at elpauer.org
Thu Jan 28 15:32:17 EST 2016


On Thu, Jan 28, 2016 at 9:19 PM, Ben Boeckel <ben.boeckel at kitware.com>
wrote:


> I think the solution to your problem is to use INTERNAL cache variables
> (for cache variables created by the third party project) or local
> variables to override the cache variables in scope (which would likely
> work for BUILD_SHARED_LIBS or ENABLE_TESTING).
>
>
Unfortunately, using INTERNAL cache variables requires me to modify the
third-party library, which is exactly what I do not want to do. I want to
be able to drop the third-party in a folder, add_subdirectory and form then
on, use it.


-- 
Pau Garcia i Quiles
http://www.elpauer.org
(Due to my workload, I may need 10 days to answer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20160128/0b0de468/attachment.html>


More information about the cmake-developers mailing list