<br><div class="gmail_quote">Hi all<br><br> I have a project that depends on some contrib libraries (SDL png etc..). If I can't find the dependencies through FindXXX macros <br>I build them myself (wrote CMakeLists for dependencies) and link to the project, also setting the include directories(SDL_INCLUDE_DIR in spirit<br>
of FindXXX macros again).<br><br> The problem is, for example; SDL header files resides in the directory SDL/include/filename.h but the project expects them to be in<br> SDL/filename.h as if SDL is installed already.The original makefile deals with this calling make install on the dependencies beforehand<br>
then includes them from installation directory. I am guessing this is not possible with CMake during configuration phase because the makefiles are not generated <br> yet(There is also a MSVC dimension to consider ). I can place the libraries the way I want via ARCHIVE_OUTPUT_DIRECTORY but have no idea<br>
how to do that with header files. This seems like a common problem but I am stumped at the moment <br><br> Any pointers would be greatly appreciated.<br><br><br>
</div><br>