mirror of
https://github.com/zint/zint
synced 2024-11-16 20:57:25 +13:00
Simpily CMakeLists
This commit is contained in:
@ -139,6 +139,11 @@ else()
|
||||
find_package(Qt5Xml)
|
||||
|
||||
if(Qt5Widgets_FOUND AND Qt5Gui_FOUND AND Qt5UiTools_FOUND AND Qt5Xml_FOUND)
|
||||
message(STATUS "Qt version: " ${Qt5Core_VERSION_STRING})
|
||||
# Old Qt does not provide QT_VERSION_MAJOR
|
||||
if (NOT QT_VERSION_MAJOR)
|
||||
string(SUBSTRING ${Qt5Core_VERSION_STRING} 0 1 QT_VERSION_MAJOR)
|
||||
endif()
|
||||
add_subdirectory(backend_qt)
|
||||
add_subdirectory(frontend_qt)
|
||||
else()
|
||||
|
Reference in New Issue
Block a user