On Thu, Jan 28, 2016 at 9:19 PM, Ben Boeckel <ben.boec...@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)
-- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers