comment out "history" feature which doesn't work in cmake right now

This commit is contained in:
Chris Beck 2014-11-22 23:32:12 -05:00
parent aedb0dce33
commit 93326f2a6e

View file

@ -88,7 +88,7 @@ option(ENABLE_PANDORA "Add support for the OpenPandora by deactivating libvorbis
option(ENABLE_SDL_GPU "Enable building with SDL_gpu (experimental" OFF)
option(ENABLE_BOOST_FILESYSTEM "Enable building with the boost filesystem and boost locale code" ON)
option(ENABLE_LIBPNG "Enable support for writing png files (screenshots, images)" ON)
option(ENABLE_HISTORY "Enable using GNU history for history in lua console" ON)
#option(ENABLE_HISTORY "Enable using GNU history for history in lua console" ON) -- This feature is not supported in cmake yet, there is no cmake script to find the lib
if(NOT DEFINED ENABLE_DISPLAY_REVISION)
# Test whether the code is used in a repository if not autorevision will
@ -607,12 +607,12 @@ if(ENABLE_GAME)
message("Could not find lib PNG. Disabling support for writing PNG images.")
endif(ENABLE_LIBPNG AND PNG_FOUND)
find_package( HISTORY )
if(ENABLE_HISTORY AND HISTORY_FOUND)
add_definitions(-DHAVE_HISTORY)
else(ENABLE_HISTORY AND HISTORY_FOUND)
message("Could not find GNU history. Disabling support for command history in lua console.")
endif(ENABLE_HISTORY AND HISTORY_FOUND)
#find_package( HISTORY )
#if(ENABLE_HISTORY AND HISTORY_FOUND)
# add_definitions(-DHAVE_HISTORY)
#else(ENABLE_HISTORY AND HISTORY_FOUND)
# message("Could not find GNU history. Disabling support for command history in lua console.")
#endif(ENABLE_HISTORY AND HISTORY_FOUND)
endif(ENABLE_GAME)
if(ENABLE_POT_UPDATE_TARGET)