fixed cmake based build

This commit is contained in:
Enno 2010-03-08 01:02:58 +01:00
parent f81ad546e9
commit d9b65024a0
1 changed files with 2 additions and 2 deletions

View File

@ -4,10 +4,10 @@ project (eressea)
if (WIN32) if (WIN32)
add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE) add_definitions(-D_CRT_SECURE_NO_WARNINGS -D_CRT_SECURE_NO_DEPRECATE)
else (WIN32) else (WIN32)
include_directories (src /usr/include/lua5.1/ /usr/include/libxml2) include_directories (/usr/include/lua5.1/ /usr/include/libxml2)
set(CMAKE_C_FLAGS "-g -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts") set(CMAKE_C_FLAGS "-g -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts")
endif (WIN32) endif (WIN32)
include_directories (../external) include_directories (../external ../server/src)
set (LIB_SRCS set (LIB_SRCS
../external/sqlite3.c ../external/sqlite3.c