summaryrefslogtreecommitdiff
path: root/src/lua
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-10 22:34:46 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:11:04 +0200
commit2115a766f6ef7eefc122d1c91a28fe94f664a11a (patch)
treecf8a031b1687ed4e32dc4ff73b1a5673ba489c3d /src/lua
parentd1a5e97a7f7c2b92aee9c151edab80fa5f536c63 (diff)
downloadminetest-2115a766f6ef7eefc122d1c91a28fe94f664a11a.tar.gz
minetest-2115a766f6ef7eefc122d1c91a28fe94f664a11a.tar.bz2
minetest-2115a766f6ef7eefc122d1c91a28fe94f664a11a.zip
Make it actually build
Diffstat (limited to 'src/lua')
-rw-r--r--src/lua/CMakeLists.txt2
-rw-r--r--src/lua/src/CMakeLists.txt2
2 files changed, 0 insertions, 4 deletions
diff --git a/src/lua/CMakeLists.txt b/src/lua/CMakeLists.txt
index c43dc1737..56c70d280 100644
--- a/src/lua/CMakeLists.txt
+++ b/src/lua/CMakeLists.txt
@@ -7,8 +7,6 @@ project(lua C)
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
-include(CustomMacros)
-
set(COMMON_CFLAGS)
set(COMMON_LDFLAGS)
set(LIBS)
diff --git a/src/lua/src/CMakeLists.txt b/src/lua/src/CMakeLists.txt
index f9bfda85e..53876cf87 100644
--- a/src/lua/src/CMakeLists.txt
+++ b/src/lua/src/CMakeLists.txt
@@ -45,8 +45,6 @@ include_directories(${CMAKE_CURRENT_SOURCE_DIR}
# Lua library.
#
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})
set(LUA_STATIC_LIB lua)
set(LUA_LIBS lua)