Skip to content

Commit

Permalink
Rename lua to lualib
Browse files Browse the repository at this point in the history
  • Loading branch information
tigerw committed Jul 13, 2020
1 parent 01cbf6d commit 4435d7e
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions CMakeLists.txt
Expand Up @@ -2,12 +2,7 @@ cmake_minimum_required (VERSION 3.13)
project (lsqlite C)

add_library(lsqlite lsqlite3.c)
target_link_libraries(lsqlite PUBLIC sqlite3 lua)

# Lua is required as a DLL for LuaSQLite:
if (WIN32)
target_compile_definitions(lsqlite PRIVATE LUA_BUILD_AS_DLL)
endif()
target_link_libraries(lsqlite PUBLIC sqlite3 lualib)

# FreeBSD requires us to define this to get POSIX 2001 standard
if (${CMAKE_SYSTEM_NAME} STREQUAL "FreeBSD")
Expand Down

0 comments on commit 4435d7e

Please sign in to comment.