projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5403b1c
)
cmake: lua: use COMMON_CFLAGS
author
Jonathan Neuschäfer
<j.neuschaefer@gmx.net>
Fri, 30 Mar 2012 21:51:59 +0000
(23:51 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Fri, 30 Mar 2012 22:31:17 +0000
(
01:31
+0300)
This fixes LUA_USE_DLOPEN having no effect.
src/lua/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/lua/CMakeLists.txt
b/src/lua/CMakeLists.txt
index 56c70d2808f2bb3bdeea4446b1cb172297539767..f2f8b976830c60dddadf24bdea8421641e6df882 100644
(file)
--- a/
src/lua/CMakeLists.txt
+++ b/
src/lua/CMakeLists.txt
@@
-89,6
+89,11
@@
if(LUA_ANSI)
set(COMMON_CFLAGS "${COMMON_CFLAGS} -DLUA_ANSI")
endif(LUA_ANSI)
+#
+# COMMON_CFLAGS has no effect without this line
+#
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${COMMON_CFLAGS}")
+
#
# standard flags to use for each build type.
#