Try to fix build with older cmake

This commit is contained in:
Jonas Kvinge 2019-01-07 19:10:41 +01:00
parent aeb7e3914e
commit b73f90c44d
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 2.8.11)
set(CMAKE_CXX_STANDARD 11)
if(${CMAKE_VERSION} VERSION_GREATER_EQUAL 3.12)
if(CMAKE_VERSION VERSION_GREATER_EQUAL 3.12)
add_compile_definitions(QAPPLICATION_CLASS=QApplication)
else()
add_definitions(-DQAPPLICATION_CLASS=QApplication)