Link to correct Qt library (patch #23)
This commit is contained in:
parent
48bf84d7ec
commit
8acb0a4d89
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ set(SRCS ${SRCS} ${MOC_SRCS})
|
||||||
add_library(quazip SHARED ${SRCS})
|
add_library(quazip SHARED ${SRCS})
|
||||||
set_target_properties(quazip PROPERTIES VERSION 1.0.0 SOVERSION 1)
|
set_target_properties(quazip PROPERTIES VERSION 1.0.0 SOVERSION 1)
|
||||||
# Link against ZLIB_LIBRARIES if needed (on Windows this variable is empty)
|
# 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(FILES ${PUBLIC_HEADERS} DESTINATION include/quazip)
|
||||||
install(TARGETS quazip LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION})
|
install(TARGETS quazip LIBRARY DESTINATION ${LIB_DESTINATION} ARCHIVE DESTINATION ${LIB_DESTINATION} RUNTIME DESTINATION ${LIB_DESTINATION})
|
||||||
|
|
Loading…
Reference in a new issue