Merge pull request #11447 from xcfrg/portable-compile-out

common: add a compile time option to allow disabling portable mode
This commit is contained in:
liamwhite 2023-09-12 09:17:50 -04:00 committed by GitHub
commit ce5320c49f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

View file

@ -151,6 +151,10 @@ add_library(common STATIC
zstd_compression.h
)
if (YUZU_ENABLE_PORTABLE)
add_compile_definitions(YUZU_ENABLE_PORTABLE)
endif()
if (WIN32)
target_sources(common PRIVATE
windows/timer_resolution.cpp