From 68e2125e5998c984871de4669093e7e3fc6ac309 Mon Sep 17 00:00:00 2001 From: xzl Date: Mon, 17 Sep 2018 14:49:33 +0800 Subject: [PATCH] fix dso cmake typo --- cmake/tensorrt.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/tensorrt.cmake b/cmake/tensorrt.cmake index 8f65a737c43..fa0e834a1df 100644 --- a/cmake/tensorrt.cmake +++ b/cmake/tensorrt.cmake @@ -18,7 +18,7 @@ find_library(TENSORRT_LIBRARY NAMES libnvinfer.so libnvinfer.a if(TENSORRT_INCLUDE_DIR AND TENSORRT_LIBRARY) if(WITH_DSO) set(TENSORRT_FOUND ON) - endif(WITH DSO) + endif(WITH_DSO) else() set(TENSORRT_FOUND OFF) endif() -- GitLab