Skip to content

Commit

Permalink
Patch from ruediger#73
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchandotcom committed Dec 20, 2019
1 parent 0ba6e25 commit fa4d69e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ project(vobsub2srt)
cmake_minimum_required(VERSION 2.6.4 FATAL_ERROR)

set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/CMakeModules)
set(CMAKE_CXX_STANDARD 11)

if(NOT CMAKE_BUILD_TYPE)
set(
Expand Down
1 change: 1 addition & 0 deletions CMakeModules/FindTesseract.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ if(TESSERACT_DATA_PATH)
endif()

set(CMAKE_REQUIRED_INCLUDES ${Tesseract_INCLUDE_DIR})
set(CMAKE_REQUIRED_FLAGS "-std=c++11")
check_cxx_source_compiles(
"#include \"tesseract/baseapi.h\"
using namespace tesseract;
Expand Down

0 comments on commit fa4d69e

Please sign in to comment.