Skip to content
Snippets Groups Projects
Commit fa8d14de authored by Dmitry Puzyrkov's avatar Dmitry Puzyrkov
Browse files

...

parent ccc29f65
No related branches found
No related tags found
No related merge requests found
......@@ -14,16 +14,6 @@ find_package(Qt5 5.15 REQUIRED COMPONENTS
set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTORCC ON)
qt5_use_modules(${PROJECT_NAME}
Core
Gui
Qml
Quick
QuickWidgets
QuickControls2
Widgets
)
if(UNIX)
if(DARWIN)
......@@ -77,10 +67,24 @@ endif()
target_include_directories(${PROJECT_NAME} PRIVATE ./CellframeNodeDiagtool)
target_include_directories(${PROJECT_NAME} PRIVATE ./CellframeNodeTray)
target_link_libraries(${PROJECT_NAME}
target_link_libraries(${PROJECT_NAME}
PUBLIC Qt5::Core Qt5::Gui Qt5::Network Qt5::Widgets Qt5::Qml Qt5::QuickWidgets
)
qt5_import_plugins(${PROJECT_NAME}
INCLUDE
qtquick2plugin
Qt5::QtQuickControls2Plugin
Qt5::QtQuick2Plugin
Qt5::QtQuickLayoutsPlugin
Qt5::QtQuickTemplates2Plugin
Qt5::QtQuickWindowPlugin
Qt5::QtQuick2WindowPlugin
Qt5::QWindowsIntegrationPlugin
)
if (WIN32)
target_link_libraries(${PROJECT_NAME} PUBLIC psapi)
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment