Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kpu/kenlm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormackong <mackonghp@gmail.com>2021-09-30 13:30:40 +0300
committermackong <mackonghp@gmail.com>2021-09-30 13:30:40 +0300
commita256f3bbefa25790ff459291c6f572fedcd32177 (patch)
tree307b29a1a9011a1687fd3fa37f962e7b1054ee0b
parentbbf4fc511266c5d4515047055d7bdec659a6e158 (diff)
fix aur build error
-rw-r--r--python/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt
index 8b6ef05..5b70d29 100644
--- a/python/CMakeLists.txt
+++ b/python/CMakeLists.txt
@@ -1,6 +1,6 @@
find_package(PythonInterp REQUIRED)
find_package(PythonLibs ${PYTHON_VERSION_STRING} EXACT REQUIRED)
-include_directories(${PYTHON_INCLUDE_DIRS})
+include_directories(${PYTHON_INCLUDE_DIRS} ${PROJECT_SOURCE_DIR})
add_library(kenlm_python MODULE kenlm.cpp score_sentence.cc)
set_target_properties(kenlm_python PROPERTIES OUTPUT_NAME kenlm)