aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3768fc4..c18381f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@
6project(lua-cjson C) 6project(lua-cjson C)
7cmake_minimum_required(VERSION 2.6) 7cmake_minimum_required(VERSION 2.6)
8 8
9option(DISABLE_CJSON_GLOBAL "Disable global registration of the 'cjson' module table") 9option(ENABLE_CJSON_GLOBAL "Register cjson module table as a global variable - not recommended")
10option(USE_INTERNAL_DTOA "Use internal strtod() / dtoa code for performance") 10option(USE_INTERNAL_DTOA "Use internal strtod() / dtoa code for performance")
11option(MULTIPLE_THREADS 11option(MULTIPLE_THREADS
12 "Build internal dtoa with support for multi-threaded applications - recommended" ON) 12 "Build internal dtoa with support for multi-threaded applications - recommended" ON)
@@ -20,8 +20,8 @@ endif()
20find_package(Lua51 REQUIRED) 20find_package(Lua51 REQUIRED)
21include_directories(${LUA_INCLUDE_DIR}) 21include_directories(${LUA_INCLUDE_DIR})
22 22
23if(DISABLE_CJSON_GLOBAL) 23if(ENABLE_CJSON_GLOBAL)
24 add_definitions(-DDISABLE_CJSON_GLOBAL) 24 add_definitions(-DENABLE_CJSON_GLOBAL)
25endif() 25endif()
26 26
27if(NOT USE_INTERNAL_DTOA) 27if(NOT USE_INTERNAL_DTOA)