comment out "history" feature which doesn't work in cmake right now
This commit is contained in:
parent
aedb0dce33
commit
93326f2a6e
1 changed files with 7 additions and 7 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue