28 lines
700 B
Diff
28 lines
700 B
Diff
*** a/CMakeLists.txt Tue Oct 1 22:38:05 2013
|
|
--- b/CMakeLists.txt Thu Apr 18 02:52:46 2019
|
|
***************
|
|
*** 221,227 ****
|
|
--- 221,230 ----
|
|
####### install
|
|
# slim
|
|
install(TARGETS slim RUNTIME DESTINATION bin)
|
|
+
|
|
+ if(BUILD_SLIMLOCK)
|
|
install(TARGETS slimlock RUNTIME DESTINATION bin)
|
|
+ endif(BUILD_SLIMLOCK)
|
|
|
|
if (BUILD_SHARED_LIBS)
|
|
set_target_properties(libslim PROPERTIES
|
|
***************
|
|
*** 236,242 ****
|
|
--- 239,247 ----
|
|
|
|
# man file
|
|
install(FILES slim.1 DESTINATION ${MANDIR}/man1/)
|
|
+ if(BUILD_SLIMLOCK)
|
|
install(FILES slimlock.1 DESTINATION ${MANDIR}/man1/)
|
|
+ endif(BUILD_SLIMLOCK)
|
|
# configure
|
|
install(FILES slim.conf DESTINATION ${SYSCONFDIR})
|
|
# systemd service file
|