From 26c20ed91d393c0d93f103e6d62f877ce5f3a020 Mon Sep 17 00:00:00 2001 From: Gabi Melman Date: Thu, 12 Mar 2020 14:46:01 +0200 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0854c843..9840e916 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -130,8 +130,7 @@ if (SPDLOG_BUILD_SHARED) add_library(spdlog SHARED ${SPDLOG_SRCS} ${SPDLOG_ALL_HEADERS}) target_compile_definitions(spdlog PUBLIC SPDLOG_SHARED_LIB) if(WIN32) - - target_compile_options(spdlog PUBLIC /wd4251 /wd4275) + target_compile_options(spdlog PUBLIC /wd4251 /wd4275) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/cmake/version.rc.in ${CMAKE_CURRENT_BINARY_DIR}/version.rc @ONLY) endif() if(NOT SPDLOG_FMT_EXTERNAL AND NOT SPDLOG_FMT_EXTERNAL_HO)