Remove unknown '--' form cmake -E (#5073)

After #5063, with cmake 3.22.1, I get test failures, saying:
    cmake -E env: unknown option '--'
The '--' is necessary so removing.
This commit is contained in:
Geza Lore 2024-04-27 11:09:59 +01:00 committed by GitHub
parent 4202ec2ab2
commit 97680656d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -215,7 +215,6 @@ function(verilate TARGET)
file(MAKE_DIRECTORY ${VDIR})
set(VERILATOR_COMMAND "${CMAKE_COMMAND}" -E env "VERILATOR_ROOT=${VERILATOR_ROOT}"
--
"${VERILATOR_BIN}" --compiler ${COMPILER}
--prefix ${VERILATE_PREFIX} --Mdir ${VDIR} --make cmake
${VERILATOR_ARGS} ${VERILATE_VERILATOR_ARGS}