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