Re: [CMake] CPack: how to change /usr install location ?

2009-03-18 Thread Eric Noulard
2009/3/18 Stephen Collyer : > I've been trying to use CPack to generate an RPM package with cmake 2.6.2. > > I have the following trivial CMakeLists.txt: > > > > PROJECT(PRINT) > CMAKE_MINIMUM_REQUIRED(VERSION 2.6) > > ADD_LIBRARY(print print.cpp) > > SE

[CMake] CPack: how to change /usr install location ?

2009-03-18 Thread Stephen Collyer
I've been trying to use CPack to generate an RPM package with cmake 2.6.2. I have the following trivial CMakeLists.txt: PROJECT(PRINT) CMAKE_MINIMUM_REQUIRED(VERSION 2.6) ADD_LIBRARY(print print.cpp) SET(PRINTER_SRCS main.cpp) ADD_EXECUTABLE(printer