--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -8,9 +8,9 @@
SET(CMAKE_C_FLAGS_RELEASE "-g -ggdb")
# C-Definitions
-ADD_DEFINITIONS(-Wall -O2 -ansi -pedantic)
+ADD_DEFINITIONS(-Wall -O2 -ansi)
ADD_DEFINITIONS(-D_XOPEN_SOURCE=500)
-ADD_DEFINITIONS(-DBOT_VERSION=0.97)
+ADD_DEFINITIONS(-DBOT_VERSION=0.99)
# Includes
INCLUDE_DIRECTORIES(../include)
@@ -23,7 +23,7 @@
INSTALL(TARGETS mcbot RUNTIME DESTINATION /usr/sbin)
INSTALL(TARGETS dbtool RUNTIME DESTINATION /usr/bin)
INSTALL(DIRECTORY ../locale/ DESTINATION /var/lib/mcbot/data/locale)
-INSTALL(PROGRAMS ../scripts/runbot DESTINATION /etc/init.d/
+INSTALL(PROGRAMS ../scripts/runbot DESTINATION /etc/init.d/
RENAME mcbot)
INSTALL(PROGRAMS ../scripts/mcbot.cgi DESTINATION /usr/lib/cgi-bin/)
@@ -33,7 +33,7 @@
EXEC_PROGRAM(${MSGFMT_PROG} ../locale ARGS -o de/LC_MESSAGES/mcbot.mo de/mcbot.po)
ELSE(MSGFMT_PROG)
MESSAGE(FATAL_ERROR "YOU NEED TO INSTALL gettext")
-ENDIF (MSGFMT_PROG)
+ENDIF (MSGFMT_PROG)
# Search required libraries
FIND_LIBRARY(GDBM_LIB NAMES gdbm