add a compile time option to allow disabling portable mode

This commit is contained in:
xcfrg 2023-09-06 18:53:39 -04:00
parent c24ed3ecaf
commit a02d641042
No known key found for this signature in database
GPG key ID: 82723C9507F7F937
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