mirror of
https://github.com/fralx/LimeReport.git
synced 2024-12-24 16:44:39 +03:00
8575dd25d3
- added missing lrchartaxiseditor to CMakeLists.txt to fix LRDesigner and demo_r1 builds - added -qt${QT_VERSION_MAJOR} to demo_r1 and LRDesigner CMakeLists.txt project files
24 lines
560 B
CMake
24 lines
560 B
CMake
set(CMAKE_AUTOMOC ON)
|
|
set(CMAKE_AUTOUIC ON)
|
|
set(CMAKE_AUTORCC ON)
|
|
|
|
set(PROJECT_SOURCES
|
|
main.cpp
|
|
mainwindow.cpp
|
|
mainwindow.h
|
|
mainwindow.ui
|
|
)
|
|
|
|
add_executable(demo_r1 main.cpp ${PROJECT_SOURCES})
|
|
|
|
target_include_directories( demo_r1 PRIVATE ../include/ )
|
|
target_link_libraries(demo_r1 PRIVATE
|
|
Qt${QT_VERSION_MAJOR}::Core
|
|
Qt${QT_VERSION_MAJOR}::Widgets
|
|
Qt${QT_VERSION_MAJOR}::PrintSupport
|
|
Qt${QT_VERSION_MAJOR}::Qml
|
|
Qt${QT_VERSION_MAJOR}::Sql
|
|
${PROJECT_NAME}-qt${QT_VERSION_MAJOR}
|
|
)
|
|
|