From b73f90c44d770436e3c18e05282d0a4fbb387145 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 7 Jan 2019 19:10:41 +0100 Subject: [PATCH] Try to fix build with older cmake --- 3rdparty/singleapplication/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/singleapplication/CMakeLists.txt b/3rdparty/singleapplication/CMakeLists.txt index ca8ea1cda..a51567277 100644 --- a/3rdparty/singleapplication/CMakeLists.txt +++ b/3rdparty/singleapplication/CMakeLists.txt @@ -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)