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}")