mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
cmake: fix building UWP with non-MSVC generator
This commit is contained in:
committed by
Anonymous Maarten
parent
ccebbb6c6e
commit
2d1d3d9fb2
@@ -8,7 +8,7 @@ message(STATUS "CMAKE_SYSTEM_PROCESSOR= ${CMAKE_SYSTEM_PROCESSOR}")
|
||||
|
||||
if(WINDOWS_STORE)
|
||||
enable_language(CXX)
|
||||
add_compile_options(/ZW)
|
||||
add_compile_options("$<$<COMPILE_LANGUAGE:CXX>:/ZW>")
|
||||
set_source_files_properties(ain_cli.c main_gui.c PROPERTIES LANGUAGE CXX)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user