We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dcdb6c commit 525e13fCopy full SHA for 525e13f
cmake/yup.cmake
@@ -64,7 +64,7 @@ function (_yup_setup_platform)
64
65
if (MINGW)
66
list (APPEND platforms "mingw")
67
- else()
+ elseif (MSVC)
68
list (APPEND platforms "msvc")
69
endif()
70
cmake/yup_modules.cmake
@@ -175,10 +175,10 @@ function (_yup_module_setup_target module_name
175
module_arc_enabled)
176
if (YUP_PLATFORM_MSFT)
177
list (APPEND module_defines NOMINMAX=1 WIN32_LEAN_AND_MEAN=1)
178
- if (YUP_PLATFORM_MSVC)
179
- list (APPEND module_options /bigobj)
180
- elseif (YUP_PLATFORM_MINGW)
+ if (MINGW)
181
list (APPEND module_options -Wa,-mbig-obj)
+ list (APPEND module_options /bigobj)
182
183
184
0 commit comments