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/flac/CMakeLists.txt | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'src/plugins/Input/flac/CMakeLists.txt') diff --git a/src/plugins/Input/flac/CMakeLists.txt b/src/plugins/Input/flac/CMakeLists.txt index bb5d09175..9b1aa7a56 100644 --- a/src/plugins/Input/flac/CMakeLists.txt +++ b/src/plugins/Input/flac/CMakeLists.txt @@ -44,14 +44,17 @@ SET(libflac_SRCS replaygainreader.cpp ) -SET(libflac_MOC_HDRS - decoderflacfactory.h +SET(libflac_HDRS decoder_flac.h - flacmetadatamodel.h cueparser.h replaygainreader.h ) +SET(libflac_MOC_HDRS + decoderflacfactory.h + flacmetadatamodel.h +) + SET(libflac_RCCS translations/translations.qrc) QT4_ADD_RESOURCES(libflac_RCC_SRCS ${libflac_RCCS}) @@ -63,7 +66,7 @@ QT4_WRAP_CPP(libflac_MOC_SRCS ${libflac_MOC_HDRS}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) IF(FLAC_FOUND) -ADD_LIBRARY(flac MODULE ${libflac_SRCS} ${libflac_MOC_SRCS} ${libflac_RCC_SRCS}) +ADD_LIBRARY(flac MODULE ${libflac_SRCS} ${libflac_MOC_SRCS} ${libflac_RCC_SRCS} ${libflac_HDRS}) add_dependencies(flac qmmp) target_link_libraries(flac ${QT_LIBRARIES} -lqmmp ${FLAC_LDFLAGS} ${FLAC_CFLAGS} ${TAGLIB_LDFLAGS} ${TAGLIB_CFLAGS}) install(TARGETS flac DESTINATION ${LIB_DIR}/qmmp/Input) -- cgit v1.2.3-13-gbd6f