<br>(probably a newbie question, but google didn&#39;t show anything relevant and answered)<br><br><br>I have a project that includes a third party library (Poco), and then my application that links to it. Everything is built from a single top level CMakeLists.txt file. Poco is includes using add_subdirectory(), the application with include().<br>
<br><br>However I need to run the install phase of Poco before the application can link to the library - its the install phase of Poco that copies the headers and libraries from all its many sub-directories into the single LIBRARY_OUTPUT_PATH.<br>
<br><br>What&#39;s the best way of telling my application not to depend on the build of PocoFoundaton, but the install of all of the Poco project ?<br><br>Of course there is no global Poco/install target - so I guess one solution would be to work with the Poco team to add that target into their CMakeLists. Are there any other approaches ?<br>
<br><br>Thanks<br><br>richard.<br>