2017-07-14 16:14 GMT+03:00 Robert Dailey <[email protected]>:
> So I'd like to use ExternalProject_Add() to pull down an external git
> repository that builds with CMake. I'd like it to use the same
> toolchain file that I"m using in my parent projects. However, I do not
> see any explicit documentation regarding toolchain support for
> ExternalProject. Do I need to explicitly pass down CMake arguments
> with the toolchain file? Or does this happen transitively? I'm using
> CMake 3.9.0

I use CMAKE_ARGS option for that
https://cmake.org/cmake/help/v3.9/module/ExternalProject.html?highlight=externalproject_add#command:externalproject_add

HTH.


-- 
Best Regards,
Sergei Nikulov
-- 

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

Reply via email to