forked from github/server
parent
6521fed160
commit
a112dc908e
|
@ -205,3 +205,9 @@ add_executable(${PROJECT_NAME}_test ${TEST_SRC})
|
||||||
target_link_libraries(${PROJECT_NAME}_test ${ERESSEA_LIBRARY})
|
target_link_libraries(${PROJECT_NAME}_test ${ERESSEA_LIBRARY})
|
||||||
|
|
||||||
add_test(${PROJECT_NAME} ${PROJECT_NAME}_test)
|
add_test(${PROJECT_NAME} ${PROJECT_NAME}_test)
|
||||||
|
|
||||||
|
IF (MSVC)
|
||||||
|
find_package (MSVC MODULE)
|
||||||
|
MSVC_CRT_SECURE_NO_WARNINGS (${ERESSEA_LIBRARY})
|
||||||
|
ENDIF (MSVC)
|
||||||
|
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
#include <tolua.h>
|
#include <tolua.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static int tolua_run_mapper(lua_State * L)
|
static int tolua_run_mapper(lua_State * L)
|
||||||
{
|
{
|
||||||
run_mapper();
|
run_mapper();
|
||||||
|
|
Loading…
Reference in New Issue