From 3a258ee5c9cdebcfd57ee5c5ff2dc0b08ec0f211 Mon Sep 17 00:00:00 2001 From: gabime Date: Sun, 8 Dec 2019 14:14:57 +0200 Subject: [PATCH] Fix CMakeList for older versions of CMake --- cmake/utils.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/utils.cmake b/cmake/utils.cmake index f16a908d..cfa1f458 100644 --- a/cmake/utils.cmake +++ b/cmake/utils.cmake @@ -30,7 +30,7 @@ function(spdlog_enable_warnings target_name) $<$,$,$>: -Wall -Wextra -Wconversion -pedantic -Wfatal-errors> $<$:/W4>) - if(MSVC_VERSION GREATER_EQUAL 1910) #Allow non fatal security wanrnings for msvc 2015 + if(MSVC_VERSION GREATER 1900) #Allow non fatal security wanrnings for msvc 2015 target_compile_options(${target_name} PRIVATE /WX) endif() endfunction()