diff options
author | Kenneth Heafield <kpu@users.noreply.github.com> | 2022-01-24 13:02:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 13:02:57 +0300 |
commit | b32c19389737a5def8bbc4623de809ced3091187 (patch) | |
tree | f3b872d961c239df8294601a2c56f1b7e514838e | |
parent | 5cea457db26950a73d638425c183b368c06ed7c6 (diff) | |
parent | a256f3bbefa25790ff459291c6f572fedcd32177 (diff) |
Merge pull request #357 from mackong/fix-aur-build
fix aur build error
-rw-r--r-- | python/CMakeLists.txt | 2 |
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) |