mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-10 11:25:07 -05:00
Make it actually build
This commit is contained in:
parent
d1a5e97a7f
commit
2115a766f6
@ -7,8 +7,6 @@ project(lua C)
|
|||||||
|
|
||||||
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
include(CustomMacros)
|
|
||||||
|
|
||||||
set(COMMON_CFLAGS)
|
set(COMMON_CFLAGS)
|
||||||
set(COMMON_LDFLAGS)
|
set(COMMON_LDFLAGS)
|
||||||
set(LIBS)
|
set(LIBS)
|
||||||
|
@ -45,8 +45,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
|
|||||||
# Lua library.
|
# Lua library.
|
||||||
#
|
#
|
||||||
add_library(lua STATIC ${LUA_CORE_SRC})
|
add_library(lua STATIC ${LUA_CORE_SRC})
|
||||||
add_target_properties(lua COMPILE_FLAGS "${COMMON_CFLAGS}")
|
|
||||||
add_target_properties(lua LINK_FLAGS "${LD_FLAGS} ${COMMON_LDFLAGS}")
|
|
||||||
target_link_libraries(lua ${LIBS})
|
target_link_libraries(lua ${LIBS})
|
||||||
set(LUA_STATIC_LIB lua)
|
set(LUA_STATIC_LIB lua)
|
||||||
set(LUA_LIBS lua)
|
set(LUA_LIBS lua)
|
||||||
|
Loading…
Reference in New Issue
Block a user