2008/4/1, Mathieu Malaterre <[EMAIL PROTECTED]>: > Hi there, > > I do not understand what I need to do to install at absolute file > path. Here is what I have right now:
Mathieu did you read this thread: http://www.cmake.org/pipermail/cmake/2008-March/020685.html in particular did you try to SET(CPACK_SET_DESTDIR ON) > ADD_EXECUTABLE(gdcmreadahead gdcmreadahead.c) > INSTALL(TARGETS gdcmreadahead > DESTINATION /usr/sbin > ) > # package its twin init.d script also: > INSTALL(PROGRAMS gdcmreadahead > DESTINATION /etc/init.d/ > ) > > make install works perfectly, but if I try to make package it, i am getting: make install as root? make install using DESTDIR? [...] > [100%] Built target gdcmreadahead > Run CPack packaging tool... > CPack: Create package using DEB Do you have the same issue with other CPack Generator? TGZ, RPM, ?? -- Erk _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
