From fe3702223f0d5c2bd36a3d4d98c423157f422c10 Mon Sep 17 00:00:00 2001 From: Alexandre Bouvier Date: Thu, 2 Nov 2023 18:53:40 +0100 Subject: cmake: prefer system simpleini library --- externals/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'externals') diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 515e3f2a4..fc922c31b 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -292,4 +292,6 @@ if (YUZU_CRASH_DUMPS AND NOT TARGET libbreakpad_client) endif() # SimpleIni -add_subdirectory(simpleini) +if (NOT TARGET SimpleIni::SimpleIni) + add_subdirectory(simpleini) +endif() -- cgit v1.2.3