mirror of
https://github.com/cuberite/sqlite.git
synced 2025-09-10 05:04:34 -04:00
Use C++ compiled Lua
This commit is contained in:
parent
4435d7e429
commit
9aeab26b00
@ -1,14 +1,5 @@
|
|||||||
cmake_minimum_required (VERSION 3.13)
|
cmake_minimum_required (VERSION 3.13)
|
||||||
project (lsqlite C)
|
project (lsqlite C)
|
||||||
|
|
||||||
add_library(lsqlite lsqlite3.c)
|
add_library(lsqlite lsqlite3.cpp)
|
||||||
target_link_libraries(lsqlite PUBLIC sqlite3 lualib)
|
target_link_libraries(lsqlite PUBLIC sqlite3 lualib)
|
||||||
|
|
||||||
# FreeBSD requires us to define this to get POSIX 2001 standard
|
|
||||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
|
||||||
target_compile_definitions(lsqlite PRIVATE _XOPEN_SOURCE=600)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if (UNIX)
|
|
||||||
target_link_libraries(lsqlite PRIVATE ${DYNAMIC_LOADER})
|
|
||||||
endif()
|
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user