Attempt fix for cmake warning spam on Windows

This commit is contained in:
Sky 2013-09-26 12:49:58 +01:00
parent 2c8dc0b855
commit 8c36e69b06
2 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,8 @@
cmake_minimum_required(VERSION 2.8.9) 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) project(MultiMC)
######## Set CMake options ######## ######## Set CMake options ########

View File

@ -1,5 +1,8 @@
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) 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) project(unpack200)
# Find ZLIB for quazip # Find ZLIB for quazip