mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 18:34:25 +01:00
added install rule for doorlock-client
This commit is contained in:
parent
cb5de7eba9
commit
404f219b6c
@ -74,13 +74,14 @@ set(DOORLOCKD_SRCS
|
|||||||
set(DOORLOCK_CLIENT_SRCS
|
set(DOORLOCK_CLIENT_SRCS
|
||||||
src/clientmessage.cpp
|
src/clientmessage.cpp
|
||||||
src/clientmessage.h
|
src/clientmessage.h
|
||||||
src/doorlock-client.cpp
|
|
||||||
src/logger.cpp
|
src/logger.cpp
|
||||||
src/logger.h
|
src/logger.h
|
||||||
src/response.cpp
|
src/response.cpp
|
||||||
src/response.h
|
src/response.h
|
||||||
src/util.cpp
|
src/util.cpp
|
||||||
src/util.h
|
src/util.h
|
||||||
|
|
||||||
|
src/doorlock-client.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_executable(doorlockd ${DOORLOCKD_SRCS})
|
add_executable(doorlockd ${DOORLOCKD_SRCS})
|
||||||
@ -90,6 +91,8 @@ add_executable(doorlock-client ${DOORLOCK_CLIENT_SRCS})
|
|||||||
target_link_libraries(doorlock-client jsoncpp ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
target_link_libraries(doorlock-client jsoncpp ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||||
|
|
||||||
install(TARGETS doorlockd DESTINATION sbin/)
|
install(TARGETS doorlockd DESTINATION sbin/)
|
||||||
|
install(TARGETS doorlock-client DESTINATION bin/)
|
||||||
|
|
||||||
install(FILES img/template.png DESTINATION share/doorlockd/)
|
install(FILES img/template.png DESTINATION share/doorlockd/)
|
||||||
install(DIRECTORY scripts/ DESTINATION share/doorlockd/
|
install(DIRECTORY scripts/ DESTINATION share/doorlockd/
|
||||||
FILES_MATCHING PATTERN "scripts/doorlockd-*"
|
FILES_MATCHING PATTERN "scripts/doorlockd-*"
|
||||||
|
Loading…
Reference in New Issue
Block a user