summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar liamwhite2023-09-12 09:17:50 -0400
committerGravatar GitHub2023-09-12 09:17:50 -0400
commitce5320c49f6e3c1dc52b9046213366dd0df1612f (patch)
tree58d116258d42771a5ccda31775b127113b1ea256 /src/common/CMakeLists.txt
parentci: fix msvc when used with LTO (#11459) (diff)
parentadd a compile time option to allow disabling portable mode (diff)
downloadyuzu-ce5320c49f6e3c1dc52b9046213366dd0df1612f.tar.gz
yuzu-ce5320c49f6e3c1dc52b9046213366dd0df1612f.tar.xz
yuzu-ce5320c49f6e3c1dc52b9046213366dd0df1612f.zip
Merge pull request #11447 from xcfrg/portable-compile-out
common: add a compile time option to allow disabling portable mode
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 6d2badf76..34877b461 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -151,6 +151,10 @@ add_library(common STATIC
151 zstd_compression.h 151 zstd_compression.h
152) 152)
153 153
154if (YUZU_ENABLE_PORTABLE)
155 add_compile_definitions(YUZU_ENABLE_PORTABLE)
156endif()
157
154if (WIN32) 158if (WIN32)
155 target_sources(common PRIVATE 159 target_sources(common PRIVATE
156 windows/timer_resolution.cpp 160 windows/timer_resolution.cpp