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> $<$:> )