mirror of
https://github.com/cuberite/sqlite.git
synced 2025-09-12 14:17:07 -04:00
Rename lua to lualib
This commit is contained in:
parent
01cbf6d5a5
commit
4435d7e429
@ -2,12 +2,7 @@ cmake_minimum_required (VERSION 3.13)
|
|||||||
project (lsqlite C)
|
project (lsqlite C)
|
||||||
|
|
||||||
add_library(lsqlite lsqlite3.c)
|
add_library(lsqlite lsqlite3.c)
|
||||||
target_link_libraries(lsqlite PUBLIC sqlite3 lua)
|
target_link_libraries(lsqlite PUBLIC sqlite3 lualib)
|
||||||
|
|
||||||
# Lua is required as a DLL for LuaSQLite:
|
|
||||||
if (WIN32)
|
|
||||||
target_compile_definitions(lsqlite PRIVATE LUA_BUILD_AS_DLL)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
# FreeBSD requires us to define this to get POSIX 2001 standard
|
# FreeBSD requires us to define this to get POSIX 2001 standard
|
||||||
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user