Third try ...
I have a Problem to really break the generation if the target does not
exist:
claus-kleins-macbook-pro:build clausklein$ /Users/clausklein/Downloads/
CmakeBuildDir/bin/cmake -G Ninja ..
-- Configuring done
CMake Error:
Policy CMP0019 is not set: add_dependencies() Dependent targets must
all exist. Run "cmake --help-policy CMP0019" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
ftpcpp: Adding dependency to non-existent target:
target_that_does_not_exist_now_but_will_be_added_later
-- Generating done
-- Build files have been written to: /Users/clausklein/Workspace/cpp/
ftplibpp-2.0.2/build
claus-kleins-macbook-pro:build clausklein$
Can anyone please help?
Thanks in advance
Best Regards
Claus
On 27.07.2012, at 12:24, Claus Klein wrote:
new patch with policy handling uploaded.
http://public.kitware.com/Bug/view.php?id=9188
Not sure if all is right, but as a basis for integration...
--
Powered by www.kitware.com
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers