Move custom lualimit.h to lua dir and rename to dfhack_llimits.h

develop
lethosor 2019-07-20 14:26:30 -04:00
parent ea0105fa66
commit b6678d72ae
2 changed files with 3 additions and 4 deletions

@ -95,11 +95,10 @@ LIST(APPEND SRC_LIBLUA ${HDR_LIBLUA})
ADD_LIBRARY ( lua SHARED ${SRC_LIBLUA} ) ADD_LIBRARY ( lua SHARED ${SRC_LIBLUA} )
TARGET_LINK_LIBRARIES ( lua ${LIBS}) TARGET_LINK_LIBRARIES ( lua ${LIBS})
target_include_directories(lua PRIVATE ../)
if (MSVC) if (MSVC)
target_compile_options(lua PRIVATE /FI lualimit.h) target_compile_options(lua PRIVATE /FI dfhack_llimits.h)
else () else ()
target_compile_options(lua PRIVATE -include lualimit.h) target_compile_options(lua PRIVATE -include dfhack_llimits.h)
endif () endif ()
install(TARGETS lua install(TARGETS lua

@ -31,7 +31,7 @@ redistribute it freely, subject to the following restrictions:
#include <stdlib.h> #include <stdlib.h>
/*! \file lualimit.h /*! \file dfhack_llimits.h
* dfhack specific lua porting header that overrides lua defaults for thread * dfhack specific lua porting header that overrides lua defaults for thread
* safety. * safety.
*/ */