summaryrefslogtreecommitdiffstats
path: root/lib/sqlite/CMakeLists.txt
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-11-05 10:56:20 +0100
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-11-05 10:56:20 +0100
commit51e5e6e9a8ed689c044256859f16f1b1f57585b7 (patch)
tree3a0d2409a61622edcc3ec5953a28fb3c13cc8705 /lib/sqlite/CMakeLists.txt
parentMerge pull request #2601 from Gargaj/patch-1 (diff)
parentOutsourced all libraries into submodules (diff)
downloadcuberite-51e5e6e9a8ed689c044256859f16f1b1f57585b7.tar
cuberite-51e5e6e9a8ed689c044256859f16f1b1f57585b7.tar.gz
cuberite-51e5e6e9a8ed689c044256859f16f1b1f57585b7.tar.bz2
cuberite-51e5e6e9a8ed689c044256859f16f1b1f57585b7.tar.lz
cuberite-51e5e6e9a8ed689c044256859f16f1b1f57585b7.tar.xz
cuberite-51e5e6e9a8ed689c044256859f16f1b1f57585b7.tar.zst
cuberite-51e5e6e9a8ed689c044256859f16f1b1f57585b7.zip
Diffstat (limited to '')
-rw-r--r--lib/sqlite/CMakeLists.txt36
1 files changed, 0 insertions, 36 deletions
diff --git a/lib/sqlite/CMakeLists.txt b/lib/sqlite/CMakeLists.txt
deleted file mode 100644
index b9471c1f2..000000000
--- a/lib/sqlite/CMakeLists.txt
+++ /dev/null
@@ -1,36 +0,0 @@
-
-cmake_minimum_required (VERSION 2.6)
-project (sqlite)
-
-include_directories ("${PROJECT_SOURCE_DIR}/../")
-
-file(GLOB SOURCE
- "*.c"
-)
-
-
-# Lua is required as a DLL for LuaSQLite:
-if (WIN32)
- add_definitions(-DLUA_BUILD_AS_DLL)
-endif()
-
-
-# add headers to MSVC project files:
-if (MSVC)
- file(GLOB HEADERS "src/*.h")
- list(REMOVE_ITEM SOURCE "${PROJECT_SOURCE_DIR}/src/lua.h" "${PROJECT_SOURCE_DIR}/src/luac.h")
- set(SOURCE ${SOURCE} ${HEADERS})
- source_group("Sources" FILES ${SOURCE})
-endif()
-
-# FreeBSD requires us to define this to get POSIX 2001 standard
-if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
- add_flags_cxx("-D_XOPEN_SOURCE=600")
-endif()
-
-add_library(sqlite ${SOURCE})
-target_link_libraries(sqlite lua)
-
-if (UNIX)
- target_link_libraries(sqlite ${DYNAMIC_LOADER})
-endif()