]> git.pld-linux.org Git - packages/QCustomPlot.git/blob - QCustomPlot.cmake
- unconditional noarch subpackages
[packages/QCustomPlot.git] / QCustomPlot.cmake
1 project(QCustomPlot)
2 cmake_minimum_required(VERSION 2.8.0)
3
4 find_package ( Qt4 REQUIRED QtCore QtGui)
5 include ( ${QT_USE_FILE} )
6
7 set (QCustomPlot_SRCS
8   qcustomplot.cpp
9 )
10
11 set (QCustomPlot_HDRS
12   qcustomplot.h
13 )
14
15 set (QCustomPlot_MOCS
16   ${QCustomPlot_HDRS}
17 )
18
19 QT4_WRAP_CPP(MOCS ${QCustomPlot_MOCS})
20
21 add_library(qcustomplot SHARED ${QCustomPlot_SRCS} ${MOCS})
22 set_target_properties(qcustomplot PROPERTIES VERSION 1.0.0 SOVERSION 1)
23 target_link_libraries(qcustomplot ${QT_LIBRARIES})
24 install(TARGETS qcustomplot LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
25 install(FILES ${QCustomPlot_HDRS} DESTINATION include)
This page took 0.100017 seconds and 3 git commands to generate.