summaryrefslogtreecommitdiff
path: root/src/common/CMakeLists.txt
diff options
context:
space:
mode:
authorGravatar ReinUsesLisp2020-11-20 01:52:37 -0300
committerGravatar ReinUsesLisp2020-11-20 01:52:37 -0300
commit3f2e605dd12e91f81dd8debf46e69accab3aa1d0 (patch)
tree0a28af05b8d34cfb2433bf4f478c982e23f38fb1 /src/common/CMakeLists.txt
parentMerge pull request #4948 from lioncash/page-resize (diff)
downloadyuzu-3f2e605dd12e91f81dd8debf46e69accab3aa1d0.tar.gz
yuzu-3f2e605dd12e91f81dd8debf46e69accab3aa1d0.tar.xz
yuzu-3f2e605dd12e91f81dd8debf46e69accab3aa1d0.zip
common/bit_cast: Add function matching std::bit_cast without constexpr
Add a std::bit_cast-like function archiving the same runtime results as the standard function, without compile time support. This allows us to use bit_cast while we wait for compiler support, it can be trivially replaced in the future.
Diffstat (limited to 'src/common/CMakeLists.txt')
-rw-r--r--src/common/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/CMakeLists.txt b/src/common/CMakeLists.txt
index 207c7a0a6..d20e6c3b5 100644
--- a/src/common/CMakeLists.txt
+++ b/src/common/CMakeLists.txt
@@ -102,6 +102,7 @@ add_library(common STATIC
102 atomic_ops.h 102 atomic_ops.h
103 detached_tasks.cpp 103 detached_tasks.cpp
104 detached_tasks.h 104 detached_tasks.h
105 bit_cast.h
105 bit_field.h 106 bit_field.h
106 bit_util.h 107 bit_util.h
107 cityhash.cpp 108 cityhash.cpp