From 0cafcc1af996832ab9127fd1478a7b56c442a225 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Thu, 6 Jan 2022 05:24:09 +0100 Subject: [PATCH] cmake: Always build static externals --- externals/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index e20b5d02..a9fb4cc8 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -1,3 +1,6 @@ +# Always build externals as static libraries, even when dynarmic is built as shared +set(BUILD_SHARED_LIBS OFF) + # For libraries that already come with a CMakeLists file, # simply add the directory to that file as a subdirectory # to have CMake automatically recognize them.