From 700561a69aa4cbd61eae31b7fc4b788b80178ad9 Mon Sep 17 00:00:00 2001 From: Yuri Kunde Schlesner Date: Wed, 23 Nov 2016 20:40:15 -0800 Subject: [PATCH] CMake: Add option to disable use of bundled fmtlib --- externals/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/externals/CMakeLists.txt b/externals/CMakeLists.txt index 7df8cfac..e9fa0d6d 100644 --- a/externals/CMakeLists.txt +++ b/externals/CMakeLists.txt @@ -2,5 +2,7 @@ # simply add the directory to that file as a subdirectory # to have CMake automatically recognize them. -# fmtlib formatting library -add_subdirectory(fmt) +if (NOT DYNARMIC_NO_BUNDLED_FMT) + # fmtlib formatting library + add_subdirectory(fmt) +endif()