From f4204e05bdfac8e9c5f7e0e1411f2cdcfdd0fb6a Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Sun, 24 Dec 2023 12:34:00 +0200 Subject: [PATCH] Clean cmake --- cmake/fmtlib.cmake | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmake/fmtlib.cmake b/cmake/fmtlib.cmake index 5879a154..a1f99c5c 100644 --- a/cmake/fmtlib.cmake +++ b/cmake/fmtlib.cmake @@ -1,10 +1,5 @@ include(FetchContent) -# Always build static fmtlib version -set(BUILD_SHARED_LIBS_ORIG "${BUILD_SHARED_LIBS}") -#set(BUILD_SHARED_LIBS OFF CACHE BOOL "Disable BUILD_SHARED_LIBS for fmtlib" FORCE) - -Set(FETCHCONTENT_QUIET FALSE) FetchContent_Declare( fmt GIT_REPOSITORY https://github.com/fmtlib/fmt.git @@ -19,6 +14,3 @@ if(NOT fmt_POPULATED) set(FMT_OS OFF CACHE BOOL "Disable FMT_OS" FORCE) add_subdirectory(${fmt_SOURCE_DIR} ${fmt_BINARY_DIR}) endif () - -# Restore BUILD_SHARED_LIBS -set(BUILD_SHARED_LIBS "${BUILD_SHARED_LIBS_ORIG}" CACHE BOOL "Restore BUILD_SHARED_LIBS" FORCE) \ No newline at end of file