cmake: lua: use COMMON_CFLAGS

This fixes LUA_USE_DLOPEN having no effect.
This commit is contained in:
Jonathan Neuschäfer 2012-03-30 23:51:59 +02:00 committed by Perttu Ahola
parent 5403b1cf6d
commit 1518b8f753

@ -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.
#