We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdca83e commit 22aa6f5Copy full SHA for 22aa6f5
samples/CMakeLists.txt
@@ -16,7 +16,7 @@
16
#
17
18
# Require the ONNX parser to build samples or trtexec.
19
-if((${TRT_BUILD_SAMPLES} OR ${TRT_BUILD_TRTEXEC}) AND NOT ${TRT_BUILD_ONNX_PARSER})
+if((TRT_BUILD_SAMPLES OR TRT_BUILD_TRTEXEC) AND NOT TRT_BUILD_ONNX_PARSER)
20
message(FATAL_ERROR "Building trtexec and/or the other samples requires that TRT_BUILD_ONNX_PARSER=ON")
21
endif()
22
0 commit comments