From 4865a6bb9f44abcc6d9b02389a2686a07f09feba Mon Sep 17 00:00:00 2001 From: Ralf Ramsauer Date: Sun, 11 Oct 2015 19:07:03 +0200 Subject: [PATCH] Added new wave class to CMakeLists.txt --- doorlockd/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doorlockd/CMakeLists.txt b/doorlockd/CMakeLists.txt index 54ed310..edf7bc1 100644 --- a/doorlockd/CMakeLists.txt +++ b/doorlockd/CMakeLists.txt @@ -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/)