Commit 4629fd52 authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 🐜
Browse files

windows.config: Add UWP flags to C++ flags too

Really silly oversight.

Part-of: <gstreamer/cerbero!497>
parent 01fe24da
......@@ -105,6 +105,7 @@ if variants.uwp:
# -APPCONTAINER is required for compliance:
# https://docs.microsoft.com/en-us/previous-versions/windows/hh920280(v=win.10)#appcontainercheck
msvc_env_for_build_system['CFLAGS'] += ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP']
msvc_env_for_build_system['CXXFLAGS'] += ['-DWINAPI_FAMILY=WINAPI_FAMILY_APP']
msvc_env_for_build_system['LDFLAGS'] += ['-APPCONTAINER', 'WindowsApp.lib']
# When not cross-compiling, this is set using C{,PLUS}_INCLUDE_PATH in cerbero/config.py
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment