summarylogtreecommitdiffstats
path: root/static-build-fmt.patch
blob: 1d9bf8e78de3598172b468f271fa8252f43db058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 33fb81e..903c135 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,6 +30,9 @@ FetchContent_Declare(fmt
   GIT_TAG f5e54359df4c26b6230fc61d38aa294581393084
   )
 
+# Prevent fmt from being installed system-wide
+set(FMT_INSTALL OFF CACHE BOOL "Disable installation of fmt" FORCE)
+
 execute_process(COMMAND  lsb_release  -c -s OUTPUT_VARIABLE RELEASE)
 string(STRIP "${RELEASE}" RELEASE)
 message(STATUS "xxx=/${RELEASE}/")