mirror of
https://github.com/python-LimeReport/LimeReport.git
synced 2025-09-23 16:49:07 +03:00
Cmake fixes: non exported symbols, missing files, shared import, rewrite cmake for demo and designer
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
project(LRDesigner)
|
||||
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
set(LRDESIGNER_FILES
|
||||
@@ -7,14 +9,12 @@ set(LRDESIGNER_FILES
|
||||
mainicon.rc
|
||||
)
|
||||
|
||||
add_executable(LRDesigner ${LRDESIGNER_FILES})
|
||||
add_executable(${PROJECT_NAME} ${LRDESIGNER_FILES})
|
||||
|
||||
target_include_directories(LRDesigner PUBLIC ${PROJECT_SOURCE_DIR}/include)
|
||||
|
||||
target_link_libraries(LRDesigner PUBLIC
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC
|
||||
Qt${QT_VERSION_MAJOR}::Core
|
||||
Qt${QT_VERSION_MAJOR}::Widgets
|
||||
Qt${QT_VERSION_MAJOR}::PrintSupport
|
||||
Qt${QT_VERSION_MAJOR}::Qml
|
||||
${PROJECT_NAME}-qt${QT_VERSION_MAJOR}
|
||||
limereport-qt${QT_VERSION_MAJOR}
|
||||
)
|
||||
|
Reference in New Issue
Block a user