[CMake] how to build a target after installing dependencies?

2011-05-02 Thread hurcan solter
Hi all I have a project that depends on some contrib libraries (SDL png etc..). If I can't find the dependencies through FindXXX macros I build them myself (wrote CMakeLists for dependencies) and link to the project, also setting the include directories(SDL_INCLUDE_DIR in spirit of FindXXX

Re: [CMake] how to build a target after installing dependencies?

2011-05-02 Thread Michael Hertling
On 05/02/2011 07:05 PM, hurcan solter wrote: Hi all I have a project that depends on some contrib libraries (SDL png etc..). If I can't find the dependencies through FindXXX macros I build them myself (wrote CMakeLists for dependencies) and link to the project, also setting the include

[CMake] how to build a target after installing dependencies?

2011-05-01 Thread hurcan solter
Hi all I have a project that depends on some contrib libraries (SDL png etc..). If I can't find the dependencies through FindXXX macros I build them myself (wrote CMakeLists for dependencies) and link to the project, also setting the include directories(SDL_INCLUDE_DIR in spirit of FindXXX