From 8f69c97c0a427c2f313652a4afea48182ae3df66 Mon Sep 17 00:00:00 2001 From: David Pinedo Date: Fri, 20 May 2016 15:05:44 -0600 Subject: winrtinstaller: remove dependency on msvcrt redistributables Loader and demos now use static version of msvcrt. Runtime Installer no longer installs msvcrt. --- loader/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'loader') diff --git a/loader/CMakeLists.txt b/loader/CMakeLists.txt index d6be9c11..2c3b2455 100644 --- a/loader/CMakeLists.txt +++ b/loader/CMakeLists.txt @@ -37,6 +37,8 @@ set (OPT_LOADER_SRCS set (LOADER_SRCS ${NORMAL_LOADER_SRCS} ${OPT_LOADER_SRCS}) if (WIN32) + set(CMAKE_C_FLAGS_DEBUG "-MTd") + set(CMAKE_C_FLAGS_RELEASE "-MT") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_CRT_SECURE_NO_WARNINGS") # Build dev_ext_trampoline.c with -O2 to allow tail-call optimization. # Build other C files with normal options -- cgit v1.2.3