File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -178,7 +178,7 @@ if(TRITON_BUILD_PYTHON_MODULE)
178178 include_directories (${PYTHON_SRC_PATH} )
179179
180180 # Python Interpreter is used to run lit tests
181- find_package (Python3 REQUIRED COMPONENTS Development Interpreter)
181+ find_package (Python3 REQUIRED COMPONENTS Development.Module Interpreter)
182182 find_package (pybind11 CONFIG REQUIRED HINTS "${Python3_SITELIB} " )
183183
184184 if (DEFINED TRITON_PLUGIN_DIRS)
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ include_directories(${JSON_INCLUDE_DIR})
1919include_directories (${PROTON_SRC_DIR} /include )
2020include_directories (${PROTON_EXTERN_DIR} )
2121
22- find_package (Python3 REQUIRED Interpreter Development)
22+ find_package (Python3 REQUIRED Interpreter Development.Module )
2323find_package (pybind11 CONFIG REQUIRED HINTS "${Python3_SITELIB} " )
2424
2525# Check if the platform is MacOS
You can’t perform that action at this time.
0 commit comments