diff --git a/CMakeLists.txt b/CMakeLists.txt index 64f3b131..f38627bb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -45,7 +45,7 @@ endif() # # ############################################################################## -project(tesseract C CXX) +project(tesseract CXX) # Get version with components from VERSION file. file(STRINGS "VERSION" VERSION_PLAIN) diff --git a/cmake/Configure.cmake b/cmake/Configure.cmake index 12448f70..35a9a9bc 100644 --- a/cmake/Configure.cmake +++ b/cmake/Configure.cmake @@ -96,13 +96,13 @@ set(include_files_list pango-1.0/pango/pango-features.h unicode/uchar.h ) -check_includes(include_files_list) +# check_includes(include_files_list) set(types_list "long long int" wchar_t ) -check_types(types_list) +# check_types(types_list) list(APPEND CMAKE_REQUIRED_DEFINITIONS -D_GNU_SOURCE) list(APPEND CMAKE_REQUIRED_LIBRARIES -lm)