On Thu, 2019-03-28 at 16:38 -0400, Norton Allen wrote: > Related to that, I noticed in another thread the mention of > 'CMAKE_SKIP_INSTALL_ALL_DEPENDENCY'. If that were set in this case, > how could I indicate that install depends on mygeneratedtarget?
There is no way to do this. C/C++ targets (executables and libraries) suffer from the same problem: if you set CMAKE_SKIP_INSTALL_ALL_DEPENDENCY and then run "make install" without running "make" first, the install rule will complain that it can't find the files (such as libfoo.a.) If you set CMAKE_SKIP_INSTALL_ALL_DEPENDENCY, you have to make sure the targets you want to install are built before running "make install". Kyle -- 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: https://cmake.org/mailman/listinfo/cmake