aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/flac/CMakeLists.txt
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-08-30 16:51:06 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2011-08-30 16:51:06 +0000
commit53388fec83220c0a42e769484f321add84b35741 (patch)
tree33dab0389d0ccb1d27c57418213ba6c9fb3ba4e7 /src/plugins/Input/flac/CMakeLists.txt
parent40461745dd60d98391959ceca8178a24426cfb52 (diff)
downloadqmmp-53388fec83220c0a42e769484f321add84b35741.tar.gz
qmmp-53388fec83220c0a42e769484f321add84b35741.tar.bz2
qmmp-53388fec83220c0a42e769484f321add84b35741.zip
fixed moc warnings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2323 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/flac/CMakeLists.txt')
-rw-r--r--src/plugins/Input/flac/CMakeLists.txt11
1 files changed, 7 insertions, 4 deletions
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)