From 77e053d582e5ea6cba64fe959f70e4c0ab3d612c Mon Sep 17 00:00:00 2001 From: Geoff McLane Date: Sat, 28 Nov 2015 15:25:24 +0100 Subject: [PATCH] Issue #311 - Add MinGW to the version --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index eb22e03..873d3a7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -85,7 +85,9 @@ add_definitions ( -DSUPPORT_ASIAN_ENCODINGS=1 ) add_definitions ( -DSUPPORT_ACCESSIBILITY_CHECKS=1 ) add_definitions ( -DLIBTIDY_VERSION="${LIBTIDY_VERSION}" ) add_definitions ( -DRELEASE_DATE="${tidy_YEAR}/${tidy_MONTH}/${tidy_DAY}" ) -### add_definitions ( -DRC_NUMBER="EXP3" ) +if (MINGW) +add_definitions ( -DRC_NUMBER="MinGW" ) +endif () # Issue #188 - Support user items in platform.h if (TIDY_CONFIG_FILE)