Commit 606ec242 authored by Volker Krause's avatar Volker Krause

Fix version check for 5.10 and beyond

parent 8a1460ac
......@@ -3,7 +3,7 @@ add_subdirectory(provider)
add_subdirectory(server)
add_subdirectory(testserver)
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_generic_lambdas has_generic_lambdas)
if(Qt5Charts_FOUND AND Qt5Svg_FOUND AND Qt5PrintSupport_FOUND AND NOT has_generic_lambdas LESS 0 AND NOT Qt5Core_VERSION LESS 5.8)
if(Qt5Charts_FOUND AND Qt5Svg_FOUND AND Qt5PrintSupport_FOUND AND NOT has_generic_lambdas LESS 0 AND NOT Qt5Core_VERSION VERSION_LESS 5.8)
add_subdirectory(console)
add_subdirectory(cli)
endif()
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment