[PATCH] Use install(TARGETS) to install the kshutdown binary
A graphical shutdown utility for Linux and Windows
Brought to you by:
kdt
The attached patch switches the INSTALL(PROGRAMS)
calls in src/CMakeLists.txt
to calls to INSTALL(TARGETS)
.
CMake's documentation for INSTALL(PROGRAMS)
says:
This form is intended to install programs that are not
targets, such as shell scripts. Use the TARGETS form to install targets built
within the project.
Additionally, installing a target also causes CMake to create additional targets, suchas install/strip
, to automatically strip the binary (useful for packagers and people building in release mode).
Anonymous
OK, added to svn trunk (r836)
Thanks :)