summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorSky <git@bunnies.cc>2013-10-06 01:15:43 +0100
committerSky <git@bunnies.cc>2013-10-06 01:15:43 +0100
commitb5816f976eca1b2220fff284c5dbceeb5e211bde (patch)
tree319d22c472b8d502deecd96bc587ce1e07545262 /CMakeLists.txt
parent7aeea14a027f8cf28615f73f4fda1ffffc2cdc3c (diff)
parentd48aae7a16e8e5f33683f5a498bb5b1edb21dc31 (diff)
downloadMultiMC-b5816f976eca1b2220fff284c5dbceeb5e211bde.tar
MultiMC-b5816f976eca1b2220fff284c5dbceeb5e211bde.tar.gz
MultiMC-b5816f976eca1b2220fff284c5dbceeb5e211bde.tar.lz
MultiMC-b5816f976eca1b2220fff284c5dbceeb5e211bde.tar.xz
MultiMC-b5816f976eca1b2220fff284c5dbceeb5e211bde.zip
Merge branch 'develop' of github.com:Drayshak/MultiMC5 into develop
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index bf72efa4..a02a4b27 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,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)
+IF(WIN32)
+ # In Qt 5.1+ we have our own main() function, don't autolink to qtmain on Windows
+ cmake_policy(SET CMP0020 OLD)
+ENDIF()
project(MultiMC)