Re: [CMake] Using CMake/CPack to make RPMs

2009-04-30 Thread David Flitney
On 30 Apr 2009, at 15:15, David Flitney wrote: One further question: how do I express dependencies? I'd like to require qt >= 3.3 for instance. Can I do this in CMakeLists.txt or will I need a custom spec.in file? Ah, CPACK_RPM_PACKAGE_REQUIRES Sorry! Not reading the docs carefull

Re: [CMake] Using CMake/CPack to make RPMs

2009-04-30 Thread David Flitney
Thanks Bill and Eric, I've upgraded to 2.6 and can see the progress :-) One further question: how do I express dependencies? I'd like to require qt >= 3.3 for instance. Can I do this in CMakeLists.txt or will I need a custom spec.in file? On 30 Apr 2009, at 14:13, Eric Noulard wrote: Do y

[CMake] Using CMake/CPack to make RPMs

2009-04-30 Thread David Flitney
Apologies if this has already been discussed. I recently discovered CPack and am overjoyed at the prospect of being able to add simple packaging to my projects. MacOS X PackageMaker worked so easily, but so far I haven't been able to get it to work for RPMs. Icmake/cpack versions are 2.4-pa

[CMake] Trouble finding X11 libs on CentOS system

2007-08-01 Thread David Flitney
I've been trying to build a project on CentOS 5 which includes Qt and VTK elements and despite the configuration discovering X11 in the correct place: /usr/lib/X11 the build always fails with: ... No rule to make target `/usr/X11R6/lib/libX11.so' ... The build.make file contains build.make: