diff options
| author | xcfrg <30675315+xcfrg@users.noreply.github.com> | 2023-09-06 18:53:39 -0400 |
|---|---|---|
| committer | xcfrg <30675315+xcfrg@users.noreply.github.com> | 2023-09-06 18:53:39 -0400 |
| commit | a02d641042d031999f3b4b90a2b5190417e051c5 (patch) | |
| tree | d4db0857d6b9e8ff0f80b67beaa7491eb3b71bd2 /src/common/CMakeLists.txt | |
| parent | c24ed3ecafa97dd41eea8738267d5f8347324e00 (diff) | |
add a compile time option to allow disabling portable mode
Diffstat (limited to 'src/common/CMakeLists.txt')
| -rw-r--r-- | src/common/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt index bf97d9ba2..8b420873a 100644 --- a/src/common/CMakeLists.txt +++ b/src/common/CMakeLists.txt @@ -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 |
