[CMake] problem running CPack

Bill Hoffman bill.hoffman at kitware.com
Tue Jan 22 15:19:42 EST 2008


Steven Van Ingelgem wrote:
> When I run the following, I get this output:
> 
> steven at steven-desktop:/src/WebAztec$ cpack -G DEB WebAztec
> CMake Error: Error in cmake code at
> /usr/share/cmake-2.5/Modules/CMakeGenericSystem.cmake:24:
> Unknown CMake command "SET_PROPERTY".
> CPack Error: CPack project name not specified
> 
> 
> 
> But when I run "make package" everything runs fine?
> 
> 
> Before I was able to run "cpack ." and it worked fine... What would be
> the cause of this?
> 
> 
Could it be that you have two different versions of cpack on the machine?

make VERBOSE=1 package

which cpack

Are they the same?

-Bill


More information about the CMake mailing list