On Sun, Oct 29, 2017 at 12:18 PM, Carlton Banks <nofl...@gmail.com> wrote:

>
> Den 29. okt. 2017 kl. 02.15 skrev Craig Scott <craig.sc...@crascit.com>:
>
>  file(MAKE_DIRECTORY)
>
> Not sure about the workaround.. the problem here is that cmake does not
> download, and make does.
> So adding a workaround like that, would require to add a condition that
> differentiates between cmake and make..
>

No condition should be needed, simply add it to CMakeLists.txt before the
command that adds the directory to the include path. The external make
build shouldn't complain if the path already exists, it will just go ahead
and populate it. At least, that's been my experience when I've used this
workaround before for this very problem.


-- 
Craig Scott
Melbourne, Australia
https://crascit.com
-- 

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