From 9cdf30dc406995e81218144c7add6382d62ed730 Mon Sep 17 00:00:00 2001 From: ronnywang Date: Tue, 18 Oct 2022 20:16:25 +0800 Subject: [PATCH] [CustomDevice] turn on WITH_CUSTOM_DEVICE when WITH_PYTHON=ON (#47108) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 52cef45b3a..a4c8a52486 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -337,7 +337,7 @@ endif() if(LINUX AND NOT WITH_CUSTOM_DEVICE - AND NOT ON_INFER) + AND WITH_PYTHON) set(WITH_CUSTOM_DEVICE ON CACHE BOOL "Enable Custom Device when compiling for Linux" FORCE) -- GitLab