aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
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 @@
6project(lua-cjson C) 6project(lua-cjson C)
7cmake_minimum_required(VERSION 2.6) 7cmake_minimum_required(VERSION 2.6)
8 8
9option(ENABLE_CJSON_GLOBAL "Register a global cjson module table - not recommended")
10option(USE_INTERNAL_FPCONV "Use internal strtod() / g_fmt() code for performance") 9option(USE_INTERNAL_FPCONV "Use internal strtod() / g_fmt() code for performance")
11option(MULTIPLE_THREADS "Support multi-threaded apps with internal fpconv - recommended" ON) 10option(MULTIPLE_THREADS "Support multi-threaded apps with internal fpconv - recommended" ON)
12 11
@@ -19,10 +18,6 @@ endif()
19find_package(Lua51 REQUIRED) 18find_package(Lua51 REQUIRED)
20include_directories(${LUA_INCLUDE_DIR}) 19include_directories(${LUA_INCLUDE_DIR})
21 20
22if(ENABLE_CJSON_GLOBAL)
23 add_definitions(-DENABLE_CJSON_GLOBAL)
24endif()
25
26if(NOT USE_INTERNAL_FPCONV) 21if(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)