Fix Linux CMake issues arising from Windows workaround
This commit is contained in:
parent
2398acc9e4
commit
d48aae7a16
@ -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)
|
||||
|
||||
|
@ -1,7 +1,9 @@
|
||||
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)
|
||||
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(unpack200)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user