forked from Mirrorlandia_minetest/minetest
cmake: lua: use COMMON_CFLAGS
This fixes LUA_USE_DLOPEN having no effect.
This commit is contained in:
parent
5403b1cf6d
commit
1518b8f753
@ -89,6 +89,11 @@ if(LUA_ANSI)
|
|||||||
set(COMMON_CFLAGS "${COMMON_CFLAGS} -DLUA_ANSI")
|
set(COMMON_CFLAGS "${COMMON_CFLAGS} -DLUA_ANSI")
|
||||||
endif(LUA_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.
|
# standard flags to use for each build type.
|
||||||
#
|
#
|
||||||
|
Loading…
Reference in New Issue
Block a user