> -----Original Message----- > From: Eric Noulard [mailto:[EMAIL PROTECTED] > Sent: Monday, February 04, 2008 3:31 PM > To: James C. Newell > Cc: [email protected] > Subject: Re: [CMake] cmake package question > > 2008/2/4, James C. Newell <[EMAIL PROTECTED]>: > > Hello, > > > > I am new to cmake but enjoying it greatly. > > > > My question relates to the cpack feature. I wasn't able to determine > > from the documentation or wiki on how to have the package command > only > > include the file system from myproj-0.1.1-Linux and below. So, in the > > example below instead of the .tar.gz containing > > myproj-0.1.1-Linux/bin/myproj would contain /bin/myproj. I'm sure I > > missed something in the documentation but would greatly appreciate > any > > advice. > > You should try to add > > SET(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 0) > > in your CMakeLists.txt before include(CPack).
That does it. Thank You. Jim > > > -- > Erk > _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
