mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-10-31 22:47:05 +01:00
Added new wave class to CMakeLists.txt
This commit is contained in:
parent
365bdb755c
commit
4865a6bb9f
@ -84,7 +84,9 @@ set(DOORLOCK_CLIENT_SRCS
|
||||
client/doorlock-client.cpp
|
||||
client/mainwindow.h
|
||||
client/mainwindow.cpp
|
||||
client/mainwindow.ui)
|
||||
client/mainwindow.ui
|
||||
client/wave.h
|
||||
client/wave.cpp)
|
||||
|
||||
add_library(doorlock STATIC ${LIBDOORLOCK_SRCS})
|
||||
target_link_libraries(doorlock jsoncpp ldap ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
|
||||
@ -93,7 +95,7 @@ add_executable(doorlockd ${DOORLOCKD_SRCS})
|
||||
target_link_libraries(doorlockd doorlock)
|
||||
|
||||
add_executable(doorlock-client ${DOORLOCK_CLIENT_SRCS})
|
||||
target_link_libraries(doorlock-client doorlock qrencode Qt5::Widgets)
|
||||
target_link_libraries(doorlock-client doorlock qrencode ao sndfile Qt5::Widgets)
|
||||
target_include_directories(doorlock-client PRIVATE ${CMAKE_SOURCE_DIR})
|
||||
|
||||
install(TARGETS doorlockd DESTINATION sbin/)
|
||||
|
Loading…
Reference in New Issue
Block a user