diff --git a/CMakeLists.txt b/CMakeLists.txt index 5aed94f..9bfcff9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -212,7 +212,7 @@ include(Configure) configure_file(${AUTOCONFIG_SRC} ${AUTOCONFIG} @ONLY) -set(INCLUDE_DIR "${CMAKE_INSTALL_PREFIX}/include" "${CMAKE_INSTALL_PREFIX}/include/leptonica") +set(INCLUDE_DIR "\${CMAKE_CURRENT_LIST_DIR}/../../include" "\${CMAKE_CURRENT_LIST_DIR}/../../include/leptonica") ############################################################################### #