CMakeLists.txt 510 Bytes
Newer Older
Vishesh Handa's avatar
Vishesh Handa committed
1
2
3
4

set (QMOBIPOCKET_SRCS
    decompressor.cpp
    mobipocket.cpp
Albert Astals Cid's avatar
Albert Astals Cid committed
5
    qfilestream.cpp
Vishesh Handa's avatar
Vishesh Handa committed
6
7
8
9
10
11
12
13
14
15
16
17
)

kde4_add_library(qmobipocket SHARED ${QMOBIPOCKET_SRCS})

target_link_libraries (qmobipocket
    ${QT_QTCORE_LIBRARY}
    ${QT_QTGUI_LIBRARY}
)

install(FILES
    mobipocket.h
    qmobipocket_export.h
Albert Astals Cid's avatar
Albert Astals Cid committed
18
    qfilestream.h
Vishesh Handa's avatar
Vishesh Handa committed
19
20
21
22
    DESTINATION ${INCLUDE_INSTALL_DIR}/qmobipocket/ COMPONENT Devel
)

install(TARGETS qmobipocket ${INSTALL_TARGETS_DEFAULT_ARGS})
23
set_target_properties(qmobipocket PROPERTIES VERSION 1.0.0 SOVERSION 1 )