diff options
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index eb598fe..c17239b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
@@ -6,7 +6,6 @@ | |||
6 | project(lua-cjson C) | 6 | project(lua-cjson C) |
7 | cmake_minimum_required(VERSION 2.6) | 7 | cmake_minimum_required(VERSION 2.6) |
8 | 8 | ||
9 | option(ENABLE_CJSON_GLOBAL "Register a global cjson module table - not recommended") | ||
10 | option(USE_INTERNAL_FPCONV "Use internal strtod() / g_fmt() code for performance") | 9 | option(USE_INTERNAL_FPCONV "Use internal strtod() / g_fmt() code for performance") |
11 | option(MULTIPLE_THREADS "Support multi-threaded apps with internal fpconv - recommended" ON) | 10 | option(MULTIPLE_THREADS "Support multi-threaded apps with internal fpconv - recommended" ON) |
12 | 11 | ||
@@ -19,10 +18,6 @@ endif() | |||
19 | find_package(Lua51 REQUIRED) | 18 | find_package(Lua51 REQUIRED) |
20 | include_directories(${LUA_INCLUDE_DIR}) | 19 | include_directories(${LUA_INCLUDE_DIR}) |
21 | 20 | ||
22 | if(ENABLE_CJSON_GLOBAL) | ||
23 | add_definitions(-DENABLE_CJSON_GLOBAL) | ||
24 | endif() | ||
25 | |||
26 | if(NOT USE_INTERNAL_FPCONV) | 21 | if(NOT USE_INTERNAL_FPCONV) |
27 | # Use libc number conversion routines (strtod(), sprintf()) | 22 | # Use libc number conversion routines (strtod(), sprintf()) |
28 | set(FPCONV_SOURCES fpconv.c) | 23 | set(FPCONV_SOURCES fpconv.c) |