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:
authorMilo Yip <miloyip@gmail.com>2017-10-26 11:25:27 +0300
committerGitHub <noreply@github.com>2017-10-26 11:25:27 +0300
commit75a71441d902c6a89f8eb7b5b94a26e7af269d95 (patch)
tree777c6371a53cf59383a8b32dff403f16c0e1b509
parent7dddd054628e42ab973bdbd1f9ab94535beb4d03 (diff)
parentf4b1f761f31352348bf142095643d61e84795dc8 (diff)
Merge pull request #1102 from m-tayel/1019-proposed-fix
Fixed typo in CMake file
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 950d115f..8d69855f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,7 +52,7 @@ if(CCACHE_FOUND)
endif(CCACHE_FOUND)
if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
- if(${RAPIDJSON_DISABLE_INSTRUMENTATION_OPT})
+ if(${RAPIDJSON_ENABLE_INSTRUMENTATION_OPT})
if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "powerpc" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64" OR "${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "ppc64le")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=native")
else()