diff --git a/cmake/paddlepaddle.cmake b/cmake/paddlepaddle.cmake index ad8df0f1844e902a632f7c7df390ec3c2a783345..5a5b652ac726cff6fe00699704cc6eb77f88e0b6 100644 --- a/cmake/paddlepaddle.cmake +++ b/cmake/paddlepaddle.cmake @@ -113,7 +113,7 @@ else() endif() MESSAGE(STATUS "PADDLE_LIB_PATH=${PADDLE_LIB_PATH}") -if (WITH_GPU OR WITH_MKLML) +if ((WITH_GPU OR WITH_MKLML) AND NOT WITH_JETSON) if (WITH_TRT) ExternalProject_Add( "extern_paddle"