From 28e54c25ee3267c4f82713bce9bbf08e027399c6 Mon Sep 17 00:00:00 2001 From: Grigory Date: Sun, 28 Jul 2019 21:04:37 +0300 Subject: [PATCH] Add -DMYGUI_DONT_REPLACE_NULLPTR --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 98d8ace47e..292d1dc061 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -215,6 +215,9 @@ endif() # Required for building the FFmpeg headers add_definitions(-D__STDC_CONSTANT_MACROS) +# Reqiuired for unity build +add_definitions(-DMYGUI_DONT_REPLACE_NULLPTR) + # TinyXML option(USE_SYSTEM_TINYXML "Use system TinyXML library instead of internal." OFF) if (USE_SYSTEM_TINYXML)