From 70f248910be683529479181757d3aa6751cf50e3 Mon Sep 17 00:00:00 2001 From: Motin Date: Thu, 15 Oct 2020 13:40:05 +0300 Subject: [PATCH] Further prevent sentencepience header pollution --- src/3rd_party/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/3rd_party/CMakeLists.txt b/src/3rd_party/CMakeLists.txt index 45c18dc4f..b8fc7c1c7 100644 --- a/src/3rd_party/CMakeLists.txt +++ b/src/3rd_party/CMakeLists.txt @@ -66,7 +66,7 @@ if(USE_SENTENCEPIECE) endif(USE_STATIC_LIBS) add_subdirectory(./sentencepiece) - include_directories(./sentencepiece) + include_directories(./sentencepiece/src) set_target_properties(spm_encode spm_decode spm_train spm_normalize spm_export_vocab PROPERTIES RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}")