diff --git a/CMakeLists.txt b/CMakeLists.txt index f16a5620d..ffa04b88e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,8 @@ cmake_minimum_required(VERSION 2.8.9) + +# In Qt 5.1+ we have our own main() function, don't autolink to qtmain on Windows +cmake_policy(SET CMP0020 OLD) + project(MultiMC) ######## Set CMake options ######## diff --git a/depends/pack200/CMakeLists.txt b/depends/pack200/CMakeLists.txt index 1befa3526..79c78f809 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