From 394854145823249c1d8a4cab9998b564f18302c1 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 1 Mar 2017 18:49:12 -0800 Subject: [PATCH] build: fix build in VS 2017 rc --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 846322b1..7fd567b5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,7 @@ endif () add_definitions(-DTYRUTILS_VERSION=${GIT_DESCRIBE}) if (MSVC) + add_definitions("/DWIN32") # TODO: remove these add_definitions("/D_CRT_SECURE_NO_WARNINGS") add_definitions("/wd4244") # disable "conversion from .. to .., possible loss of data" warning