From 8c36e69b06004a446d69fd3c529172030a449651 Mon Sep 17 00:00:00 2001 From: Sky Date: Thu, 26 Sep 2013 12:49:58 +0100 Subject: Attempt fix for cmake warning spam on Windows --- depends/pack200/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'depends/pack200/CMakeLists.txt') diff --git a/depends/pack200/CMakeLists.txt b/depends/pack200/CMakeLists.txt index 1befa352..79c78f80 100644 --- a/depends/pack200/CMakeLists.txt +++ b/depends/pack200/CMakeLists.txt @@ -1,5 +1,8 @@ CMAKE_MINIMUM_REQUIRED(VERSION 2.6) +# In Qt 5.1+ we have our own main() function, don't autolink to qtmain on Windows +cmake_policy(SET CMP0020 OLD) + project(unpack200) # Find ZLIB for quazip -- cgit v1.2.3