[CMake] CPACK variable
Eric Noulard
eric.noulard at gmail.com
Fri Dec 7 11:06:36 EST 2012
2012/12/6 Stephen Rasku <cmake at srasku.net>:
> I am using cmake/cpack 2.8.9. We have cmake wrapped in Makefile.
> CMAKE and CPACK are defined in the Makefile as the full path to the
> respective executables. Cmake is expanding the cmake definition to
> the full path but cpack doesn't include the full path. This is the
> relevant section of CMakeFiles/rpm.dir/build.make. As you can see,
> cmake includes the full path but cpack does not.
>
> CMakeFiles/rpm:
> cpack
> /tools/swdev/packages/cmake/cmake-2.8.9/bin/cmake -E rename
> myPackage-devel.rpm myPackage-devel-1.0-3.i586-linux.rpm
> /tools/swdev/packages/cmake/cmake-2.8.9/bin/cmake -E rename
> myPackage-release.rpm myPackage-1.0-3.i586-linux.rpm
Could you show us the relevant bits of your CMakeLists.txt which generate this?
Could you try to:
cd /path/to/builddir
grep cpack CMakeCache.txt
and give us the result please.
--
Erk
Le gouvernement représentatif n'est pas la démocratie --
http://www.le-message.org
More information about the CMake
mailing list