[CMake] [PATCH] FindGTK2: Move check for pangocairo in gtk module

2013-06-14 Thread Daniele E. Domenichelli
Dear CMake developers, FindGTK2 searches for pangocairo only when looking for the gtkmm module, but afaik it is possible to use the pangocairo library without gtkmm. Therefore I believe that it should search the library in the gtk module. Attached is a patch that fixes this issue. Regards, Dan

[CMake] GenerateExportHeader usage

2013-06-14 Thread MichaƂ Walenciak
hello all I'm trying to use GenerateExportHeader module from cmake. part of my CmakeLists.txt: add_compiler_export_flags() add_library(gui SHARED ${gui_CPP} ${gui_HPP}) generate_export_header(gui) it works nice for gui project itself, but when I try to include gui's .h files in another proje

Re: [CMake] Update for "How to create a ProjectConfig.cmake file"?

2013-06-14 Thread Jean-Christophe Fillion-Robin
Hi, Would be great is somebody could help and update the wiki page. Here are some pointers: http://cmake.3232098.n2.nabble.com/CMakeModules-repository-at-GitHub-tp7583818p7583832.html http://www.cmake.org/pipermail/cmake/2013-February/053689.html Hth Jc On Thu, Jun 13, 2013 at 10:45 AM, Jo

Re: [CMake] Windows NSIS installer shared libraries

2013-06-14 Thread Leek, Jim
Geez, all I have to do it this for each library (mars is a library) and it just works: install (TARGETS mars RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib) That's much better than what I was doing before: if(UNIX) install (TARGETS metis DESTINATION lib)

Re: [CMake] Windows NSIS installer shared libraries

2013-06-14 Thread Richard Shaw
Ack, something about this list confuses gmail and it always goes to the poster instead of the list apologies. On Fri, Jun 14, 2013 at 1:07 AM, J Decker wrote: > I think something like > if( NOT UNIX ) > install( TARGETS x RUNTIME DESTINATION bin >LIBRARY DESTINATION bin >ARCHIVE DESTINAT