From 94806747df36aa005d16841316c81c3a6e8d7a00 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Fri, 2 Feb 2018 18:42:22 -0800 Subject: [PATCH] remove 'FMT_CPPFORMAT' CMake option --- CMakeLists.txt | 9 --------- 1 file changed, 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 177f1e0c..253d51c8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -105,12 +105,6 @@ endif () add_library(fmt ${FMT_SOURCES} ${FMT_HEADERS} README.rst ChangeLog.rst) -option(FMT_CPPFORMAT "Build cppformat library for backward compatibility." OFF) -if (FMT_CPPFORMAT) - message(WARNING "The cppformat library is deprecated, use fmt instead.") - add_library(cppformat ${FMT_SOURCES} ${FMT_HEADERS}) -endif () - # Starting with CMake 3.1 the CXX_STANDARD property can be used instead. # Don't export -std since it may break projects that use other standards. target_compile_options(fmt PRIVATE ${CPP14_FLAG}) @@ -184,9 +178,6 @@ if (FMT_INSTALL) install(TARGETS ${INSTALL_TARGETS} EXPORT ${targets_export_name} DESTINATION ${FMT_LIB_DIR}) install(FILES ${FMT_HEADERS} DESTINATION include/fmt) - if (FMT_CPPFORMAT) - install(TARGETS cppformat DESTINATION ${FMT_LIB_DIR}) - endif () endif () if (FMT_DOC)