Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/miloyip/rapidjson.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--example/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index f4829cc8..c6b8449f 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -19,6 +19,8 @@ set(EXAMPLES
include_directories("../include/")
+add_definitions(-D__STDC_FORMAT_MACROS)
+
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wall -Wextra -Weffc++ -Wswitch-default")
elseif (CMAKE_CXX_COMPILER_ID MATCHES "Clang")