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:
authorKenneth Heafield <kpu@users.noreply.github.com>2022-01-24 13:02:57 +0300
committerGitHub <noreply@github.com>2022-01-24 13:02:57 +0300
commitb32c19389737a5def8bbc4623de809ced3091187 (patch)
treef3b872d961c239df8294601a2c56f1b7e514838e
parent5cea457db26950a73d638425c183b368c06ed7c6 (diff)
parenta256f3bbefa25790ff459291c6f572fedcd32177 (diff)
Merge pull request #357 from mackong/fix-aur-build
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)