aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Transports
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-04 12:06:08 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2015-12-04 12:06:08 +0000
commit27a0bf662d7dd46823222fd95d73587a0c7a095c (patch)
treebaa321a9300ee2560bb71c20cdf09295bf164843 /src/plugins/Transports
parentee2dcb552128031dce57f1cab62857c76e98916c (diff)
downloadqmmp-27a0bf662d7dd46823222fd95d73587a0c7a095c.tar.gz
qmmp-27a0bf662d7dd46823222fd95d73587a0c7a095c.tar.bz2
qmmp-27a0bf662d7dd46823222fd95d73587a0c7a095c.zip
building of .app package for MacOS X with CMake (patch by Ivan Ponomarev)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@5807 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Transports')
-rw-r--r--src/plugins/Transports/http/CMakeLists.txt4
-rw-r--r--src/plugins/Transports/mms/CMakeLists.txt2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/Transports/http/CMakeLists.txt b/src/plugins/Transports/http/CMakeLists.txt
index 793dde428..f046f823e 100644
--- a/src/plugins/Transports/http/CMakeLists.txt
+++ b/src/plugins/Transports/http/CMakeLists.txt
@@ -65,9 +65,9 @@ IF(CURL_FOUND)
ADD_LIBRARY(http MODULE ${libhttp_SRCS} ${libhttp_UIS_H} ${libhttp_RCC_SRCS})
IF(USE_ENCA AND ENCA_FOUND)
-target_link_libraries(http ${QT_LIBRARIES} -lqmmp ${CURL_LDFLAGS} ${CURL_CFLAGS} ${ENCA_LDFLAGS} ${ENCA_CFLAGS})
+target_link_libraries(http ${QT_LIBRARIES} libqmmp ${CURL_LDFLAGS} ${CURL_CFLAGS} ${ENCA_LDFLAGS} ${ENCA_CFLAGS})
ELSE(USE_ENCA AND ENCA_FOUND)
-target_link_libraries(http ${QT_LIBRARIES} -lqmmp ${CURL_LDFLAGS})
+target_link_libraries(http ${QT_LIBRARIES} libqmmp ${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 b5c365548..a6c79867c 100644
--- a/src/plugins/Transports/mms/CMakeLists.txt
+++ b/src/plugins/Transports/mms/CMakeLists.txt
@@ -56,7 +56,7 @@ QT4_WRAP_UI(libmms_UIS_H ${libmms_UIS})
include_directories(${CMAKE_CURRENT_BINARY_DIR})
IF(MMS_FOUND)
ADD_LIBRARY(mms MODULE ${libmms_SRCS} ${libmms_UIS_H} ${libmms_RCC_SRCS})
-target_link_libraries(mms ${QT_LIBRARIES} -lqmmp ${MMS_LDFLAGS})
+target_link_libraries(mms ${QT_LIBRARIES} libqmmp ${MMS_LDFLAGS})
add_dependencies(mms qmmp)
install(TARGETS mms DESTINATION ${LIB_DIR}/qmmp/Transports)
ENDIF(MMS_FOUND)