mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 10:03:45 +01:00
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