Skip to content

Commit 525e13f

Browse files
committed
Fix compiling
1 parent 2dcdb6c commit 525e13f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cmake/yup.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function (_yup_setup_platform)
6464

6565
if (MINGW)
6666
list (APPEND platforms "mingw")
67-
else()
67+
elseif (MSVC)
6868
list (APPEND platforms "msvc")
6969
endif()
7070

cmake/yup_modules.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,10 @@ function (_yup_module_setup_target module_name
175175
module_arc_enabled)
176176
if (YUP_PLATFORM_MSFT)
177177
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)
178+
if (MINGW)
181179
list (APPEND module_options -Wa,-mbig-obj)
180+
elseif (MSVC)
181+
list (APPEND module_options /bigobj)
182182
endif()
183183
endif()
184184

0 commit comments

Comments
 (0)