File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -92,19 +92,18 @@ if(SUPPORT_REGEX_LOOKAHEAD)
92
92
pcre2-8-static
93
93
PROPERTIES
94
94
INTERFACE_INCLUDE_DIRECTORIES
95
- $< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR } /third-party/pcre2/src >
95
+ $< BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR } /third-party/pcre2>
96
96
)
97
97
add_library (
98
98
regex_lookahead STATIC
99
99
${CMAKE_CURRENT_SOURCE_DIR} /src/pcre2_regex.cpp
100
100
${CMAKE_CURRENT_SOURCE_DIR} /src/regex_lookahead.cpp
101
101
${CMAKE_CURRENT_SOURCE_DIR} /src/std_regex.cpp
102
102
)
103
- target_link_libraries (regex_lookahead PUBLIC pcre2-8 )
103
+ target_link_libraries (regex_lookahead PUBLIC pcre2-8-static )
104
104
target_include_directories (
105
105
regex_lookahead
106
106
PUBLIC $< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include>
107
- $< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /third-party/pcre2/src>
108
107
)
109
108
target_link_options_shared_lib (regex_lookahead )
110
109
target_link_libraries (tokenizers PUBLIC regex_lookahead )
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ def define_common_targets():
101
101
"@EXECUTORCH_CLIENTS" ,
102
102
"//pytorch/tokenizers/..." ,
103
103
],
104
- external_deps = [
104
+ exported_external_deps = [
105
105
"sentencepiece" ,
106
106
"abseil-cpp" ,
107
107
],
You can’t perform that action at this time.
0 commit comments