diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-02-23 19:57:25 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-02-23 19:57:25 +0000 |
| commit | 53ac1b9923438a7b53e5a27c28cf48bb2b91af5d (patch) | |
| tree | 74407e3c3cf8a147345e3dd9e4b9f86c725b0eba /src/plugins | |
| parent | 054541eedc2e36158b4fa962b864d461ef2db0b1 (diff) | |
| download | qmmp-53ac1b9923438a7b53e5a27c28cf48bb2b91af5d.tar.gz qmmp-53ac1b9923438a7b53e5a27c28cf48bb2b91af5d.tar.bz2 qmmp-53ac1b9923438a7b53e5a27c28cf48bb2b91af5d.zip | |
fixed cmake support
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@7052 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins')
| -rw-r--r-- | src/plugins/Effect/filewriter/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/Effect/filewriter/CMakeLists.txt b/src/plugins/Effect/filewriter/CMakeLists.txt index 372f6a492..269950b29 100644 --- a/src/plugins/Effect/filewriter/CMakeLists.txt +++ b/src/plugins/Effect/filewriter/CMakeLists.txt @@ -23,6 +23,8 @@ SET(QT_INCLUDES # libqmmp include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../../) link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) +# libqmmpui +link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmpui) pkg_check_modules(VORBISENC vorbis ogg vorbisenc) @@ -57,7 +59,7 @@ include_directories(${CMAKE_CURRENT_BINARY_DIR}) IF(VORBISENC_FOUND) ADD_LIBRARY(filewriter MODULE ${libfilewriter_SRCS} ${libfilewriter_UIS_H} ${libfilewriter_RCC_SRCS} ${libfilewriter_HDRS}) -add_dependencies(filewriter qmmp) -target_link_libraries(filewriter ${QT_LIBRARIES} libqmmp ${VORBISENC_LDFLAGS}) +add_dependencies(filewriter qmmp qmmpui) +target_link_libraries(filewriter ${QT_LIBRARIES} libqmmp qmmpui ${VORBISENC_LDFLAGS}) install(TARGETS filewriter DESTINATION ${LIB_DIR}/qmmp/Effect) ENDIF(VORBISENC_FOUND) |
