[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/base/nepomuk-kde/cmake/modules
From: Sebastian Trueg <sebastian () trueg ! de>
Date: 2010-11-21 16:32:58
Message-ID: 20101121163258.C0C04AC8A0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1199335 by trueg:
Updated tesseract cmake to version 3
M +2 -8 FindTesseract.cmake
--- trunk/playground/base/nepomuk-kde/cmake/modules/FindTesseract.cmake #1199334:1199335
@@ -4,7 +4,7 @@
# TESSERACT_INCLUDE_DIR - the TESSERACT include directory
# TESSERACT_LIBRARY - The libraries needed to use TESSERACT
-# Copyright (c) 2009, Sebastian Trueg <trueg@kde.org>
+# Copyright (c) 2009-2010, Sebastian Trueg <trueg@kde.org>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
@@ -18,11 +18,9 @@
FIND_PATH(TESSERACT_INCLUDE_DIR tesseract/baseapi.h)
-FIND_LIBRARY(TESSERACT_LIBRARY NAMES tesseract_full)
+FIND_LIBRARY(TESSERACT_LIBRARY NAMES tesseract_api)
if(TESSERACT_LIBRARY)
- # check if it is hacked, otherwise it is useless
-
find_package(TIFF)
if(TIFF_FOUND)
set(CMAKE_REQUIRED_LIBRARIES ${TESSERACT_LIBRARY} ${TIFF_LIBRARY} pthread stdc++)
@@ -31,10 +29,6 @@
endif(TIFF_FOUND)
set(CMAKE_REQUIRED_INCLUDES ${TESSERACT_INCLUDE_DIR})
- check_cxx_symbol_exists(THIS_IS_A_HACKED_VERSION_FOR_KDE tesseract/scanutils.h TESSERACT_HACKED_FOUND)
- if(NOT TESSERACT_HACKED_FOUND)
- message(STATUS "Tesseract is not hacked to work with libs resetting LC_* and thus, unusable.")
- endif(NOT TESSERACT_HACKED_FOUND)
endif(TESSERACT_LIBRARY)
include(FindPackageHandleStandardArgs)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic