1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00

Added new wave class to CMakeLists.txt

This commit is contained in:
Ralf Ramsauer 2015-10-11 19:07:03 +02:00
parent 365bdb755c
commit 4865a6bb9f

View File

@ -84,7 +84,9 @@ set(DOORLOCK_CLIENT_SRCS
client/doorlock-client.cpp client/doorlock-client.cpp
client/mainwindow.h client/mainwindow.h
client/mainwindow.cpp client/mainwindow.cpp
client/mainwindow.ui) client/mainwindow.ui
client/wave.h
client/wave.cpp)
add_library(doorlock STATIC ${LIBDOORLOCK_SRCS}) add_library(doorlock STATIC ${LIBDOORLOCK_SRCS})
target_link_libraries(doorlock jsoncpp ldap ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT}) 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) target_link_libraries(doorlockd doorlock)
add_executable(doorlock-client ${DOORLOCK_CLIENT_SRCS}) 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}) target_include_directories(doorlock-client PRIVATE ${CMAKE_SOURCE_DIR})
install(TARGETS doorlockd DESTINATION sbin/) install(TARGETS doorlockd DESTINATION sbin/)