From 5ae1e811d70f651f16f89a5a41a159e306e8a4da Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Thu, 19 Jul 2018 15:47:48 -0400 Subject: [PATCH] remove msvc redistributable dependency --- CMakeLists.txt | 4 ++-- vnr/texthook/CMakeLists.txt | 2 +- vnr/vnrhook/CMakeLists.txt | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 457d936..c397e9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -31,8 +31,8 @@ add_compile_options( /wd4819 # config.pri /MP /GS- -# $<$:/MT> -# $<$:/MTd> + $<$:/MT> + $<$:/MTd> ) add_definitions( diff --git a/vnr/texthook/CMakeLists.txt b/vnr/texthook/CMakeLists.txt index 3c7ec3b..d577ea8 100644 --- a/vnr/texthook/CMakeLists.txt +++ b/vnr/texthook/CMakeLists.txt @@ -26,7 +26,7 @@ set_target_properties(vnrhost PROPERTIES LINK_FLAGS /SUBSYSTEM:WINDOWS) target_compile_options(vnrhost PRIVATE # /GR- - $<$:> + $<$:/MT> $<$:> ) diff --git a/vnr/vnrhook/CMakeLists.txt b/vnr/vnrhook/CMakeLists.txt index 5993dae..1100fb9 100644 --- a/vnr/vnrhook/CMakeLists.txt +++ b/vnr/vnrhook/CMakeLists.txt @@ -68,7 +68,7 @@ set_target_properties(vnrhook PROPERTIES target_compile_options(vnrhook PRIVATE /EHa - $<$:> + $<$:/MT> $<$:> )