diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-10-15 08:37:10 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2011-10-15 08:37:10 +0000 |
| commit | f3a81cc15b9cbd3787869e2a4a32fcd82c90c8c4 (patch) | |
| tree | ea8ee22a814847e60cec5fa1bba38fe8471dc67e /src/plugins/Transports | |
| parent | 6fe2f98c9a5a2e581a4bbd613b1c80ffc29ad7d3 (diff) | |
| download | qmmp-f3a81cc15b9cbd3787869e2a4a32fcd82c90c8c4.tar.gz qmmp-f3a81cc15b9cbd3787869e2a4a32fcd82c90c8c4.tar.bz2 qmmp-f3a81cc15b9cbd3787869e2a4a32fcd82c90c8c4.zip | |
fixed incorrect cflags usage
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@2401 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Transports')
| -rw-r--r-- | src/plugins/Transports/http/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | src/plugins/Transports/mms/CMakeLists.txt | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/Transports/http/CMakeLists.txt b/src/plugins/Transports/http/CMakeLists.txt index becb48519..c310990a0 100644 --- a/src/plugins/Transports/http/CMakeLists.txt +++ b/src/plugins/Transports/http/CMakeLists.txt @@ -30,6 +30,7 @@ link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) pkg_search_module(CURL libcurl) include_directories(${CURL_INCLUDE_DIRS}) link_directories(${CURL_LIBRARY_DIRS}) +ADD_DEFINITIONS(${CURL_CFLAGS}) # libenca IF(USE_ENCA AND ENCA_FOUND) @@ -76,7 +77,7 @@ ADD_LIBRARY(http MODULE ${libhttp_SRCS} ${libhttp_MOC_SRCS} ${libhttp_UIS_H} ${l IF(USE_ENCA AND ENCA_FOUND) target_link_libraries(http ${QT_LIBRARIES} -lqmmp ${CURL_LDFLAGS} ${CURL_CFLAGS} ${ENCA_LDFLAGS} ${ENCA_CFLAGS}) ELSE(USE_ENCA AND ENCA_FOUND) -target_link_libraries(http ${QT_LIBRARIES} -lqmmp ${CURL_LDFLAGS} ${CURL_CFLAGS}) +target_link_libraries(http ${QT_LIBRARIES} -lqmmp ${CURL_LDFLAGS}) ENDIF(USE_ENCA AND ENCA_FOUND) add_dependencies(http qmmp) diff --git a/src/plugins/Transports/mms/CMakeLists.txt b/src/plugins/Transports/mms/CMakeLists.txt index b0682e31c..3a1ec888a 100644 --- a/src/plugins/Transports/mms/CMakeLists.txt +++ b/src/plugins/Transports/mms/CMakeLists.txt @@ -30,6 +30,7 @@ link_directories(${CMAKE_CURRENT_BINARY_DIR}/../../../qmmp) pkg_search_module(MMS libmms>=0.4) include_directories(${MMS_INCLUDE_DIRS}) link_directories(${MMS_LIBRARY_DIRS}) +ADD_DEFINITIONS(${MMS_CFLAGS}) SET(libmms_SRCS @@ -65,7 +66,7 @@ QT4_WRAP_CPP(libmms_MOC_SRCS ${libmms_MOC_HDRS}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) IF(MMS_FOUND) ADD_LIBRARY(mms MODULE ${libmms_SRCS} ${libmms_MOC_SRCS} ${libmms_UIS_H} ${libmms_RCC_SRCS}) -target_link_libraries(mms ${QT_LIBRARIES} -lqmmp ${MMS_LDFLAGS} ${MMS_CFLAGS}) +target_link_libraries(mms ${QT_LIBRARIES} -lqmmp ${MMS_LDFLAGS}) add_dependencies(mms qmmp) install(TARGETS mms DESTINATION ${LIB_DIR}/qmmp/Transports) ENDIF(MMS_FOUND) |
