summaryrefslogtreecommitdiffstats
path: root/depends/pack200
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-09-26 12:49:58 +0100
committerSky <git@bunnies.cc>2013-09-26 12:49:58 +0100
commit8c36e69b06004a446d69fd3c529172030a449651 (patch)
treee84beb41c2eec0473fede8c9b6b2f19faaceccf1 /depends/pack200
parent2c8dc0b855c38c5204d398ad306fa9cf43be1ada (diff)
downloadMultiMC-8c36e69b06004a446d69fd3c529172030a449651.tar
MultiMC-8c36e69b06004a446d69fd3c529172030a449651.tar.gz
MultiMC-8c36e69b06004a446d69fd3c529172030a449651.tar.lz
MultiMC-8c36e69b06004a446d69fd3c529172030a449651.tar.xz
MultiMC-8c36e69b06004a446d69fd3c529172030a449651.zip
Attempt fix for cmake warning spam on Windows
Diffstat (limited to 'depends/pack200')
-rw-r--r--depends/pack200/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
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