From 8acb0a4d8941ccfc545189b1b2eeaf93dcdbcb78 Mon Sep 17 00:00:00 2001 From: alqualos Date: Thu, 29 Jan 2015 18:04:27 +0000 Subject: [PATCH] Link to correct Qt library (patch #23) --- quazip/quazip/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quazip/quazip/CMakeLists.txt b/quazip/quazip/CMakeLists.txt index dcb1cde..848236e 100644 --- a/quazip/quazip/CMakeLists.txt +++ b/quazip/quazip/CMakeLists.txt @@ -17,7 +17,7 @@ set(SRCS ${SRCS} ${MOC_SRCS}) add_library(quazip SHARED ${SRCS}) set_target_properties(quazip PROPERTIES VERSION 1.0.0 SOVERSION 1) # Link against ZLIB_LIBRARIES if needed (on Windows this variable is empty) -target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QT_QTCORE_LIBRARY} ${ZLIB_LIBRARIES}) +target_link_libraries(quazip ${QT_QTMAIN_LIBRARY} ${QTCORE_LIBRARIES} ${ZLIB_LIBRARIES}) install(FILES ${PUBLIC_HEADERS} DESTINATION include/quazip) install(TARGETS quazip LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION})