From 53388fec83220c0a42e769484f321add84b35741 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Tue, 30 Aug 2011 16:51:06 +0000 Subject: fixed moc warnings git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2323 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sndfile/CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/plugins/Input/sndfile') diff --git a/src/plugins/Input/sndfile/CMakeLists.txt b/src/plugins/Input/sndfile/CMakeLists.txt index 0634b03b0..1beb8b476 100644 --- a/src/plugins/Input/sndfile/CMakeLists.txt +++ b/src/plugins/Input/sndfile/CMakeLists.txt @@ -36,9 +36,12 @@ SET(libsndfile_SRCS decodersndfilefactory.cpp ) +SET(libsndfile_HDRS + decoder_sndfile.h +) + SET(libsndfile_MOC_HDRS decodersndfilefactory.h - decoder_sndfile.h ) SET(libsndfile_RCCS translations/translations.qrc) @@ -54,7 +57,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) IF(SNDFILE_FOUND) ADD_LIBRARY(sndfile MODULE ${libsndfile_SRCS} ${libsndfile_MOC_SRCS} ${libsndfile_UIS_H} - ${libsndfile_RCC_SRCS}) + ${libsndfile_RCC_SRCS} ${libsndfile_HDRS}) add_dependencies(sndfile qmmp) target_link_libraries(sndfile ${QT_LIBRARIES} -lqmmp ${SNDFILE_LDFLAGS} ${SNDFILE_CFLAGS}) install(TARGETS sndfile DESTINATION ${LIB_DIR}/qmmp/Input) -- cgit v1.2.3-13-gbd6f