Skip to content

Commit 22aa6f5

Browse files
committed
Fix onnx parser error
does not allow grouped logical expressions with () Signed-off-by: RezkyKam50 <rezkykam34@gmail.com>
1 parent bdca83e commit 22aa6f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#
1717

1818
# Require the ONNX parser to build samples or trtexec.
19-
if((${TRT_BUILD_SAMPLES} OR ${TRT_BUILD_TRTEXEC}) AND NOT ${TRT_BUILD_ONNX_PARSER})
19+
if((TRT_BUILD_SAMPLES OR TRT_BUILD_TRTEXEC) AND NOT TRT_BUILD_ONNX_PARSER)
2020
message(FATAL_ERROR "Building trtexec and/or the other samples requires that TRT_BUILD_ONNX_PARSER=ON")
2121
endif()
2222

0 commit comments

Comments
 (0)