Commit a156c9d6 authored by noasakurajin's avatar noasakurajin
Browse files

fixing a not working controls when compiled without opencv

 This version is a hotfix that get the control working properly again.
 Before the line that checked if sdl is available actually checked if
 for opencv. This broke the builds that used sdl2 without compiling the
 opencv code.
 Because of the size and the importance of this fix, this will be a
 new patch release version.
parent 80d4a360
Pipeline #66959 passed with stages
in 3 minutes and 36 seconds
......@@ -38,7 +38,7 @@ PROJECT_NAME = libtrainsim
# could be handy for archiving the generated documentation or if some version
# control system is used.
PROJECT_NUMBER = 0.9.0
PROJECT_NUMBER = 0.9.1
# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
......
......@@ -26,7 +26,7 @@ std::string libtrainsim::control::input_handler::getKeyFunction() {
}
#endif
#ifdef HAS_OPENCV_SUPPORT
#ifdef HAS_SDL_SUPPORT
if ( backend == libtrainsim::Video::window_sdl){
SDL_Event event;
......
......@@ -148,7 +148,7 @@ namespace libtrainsim {
* @brief the current version of the libtrainsim
*
*/
const version lib_version(0,9,0);
const version lib_version(0,9,1);
/**
* @brief the current version of the json formats
......
......@@ -2,7 +2,7 @@ project(
'libtrainsim',
'cpp',
default_options : ['cpp_std=c++17'],
version : '0.9.0'
version : '0.9.1'
)
#set the configuration
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment