From be747a501b613a8e010467187e59caf95302061d Mon Sep 17 00:00:00 2001 From: Aleksey Nikolaev Date: Thu, 20 Apr 2017 14:59:13 +0300 Subject: [PATCH] Correct include path for installed project --- CMakeLists.txt | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 233fea51..6e7d5c2f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -119,12 +119,7 @@ include(Configure) configure_file(${AUTOCONFIG_SRC} ${AUTOCONFIG} @ONLY) -set(INCLUDE_DIR - ${CMAKE_SOURCE_DIR}/api - ${CMAKE_SOURCE_DIR}/ccmain - ${CMAKE_SOURCE_DIR}/ccstruct - ${CMAKE_SOURCE_DIR}/ccutil -) +set(INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/include" "${CMAKE_INSTALL_PREFIX}/include/tesseract") configure_file( ${CMAKE_SOURCE_DIR}/cmake/templates/TesseractConfig-version.cmake.in