Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runtime/Cpp/cmake/antlr4-generator.cmake.in: Quote the additional dependencies argument properly #4464

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

t-b
Copy link

@t-b t-b commented Nov 7, 2023

The 6th argument takes a list of dependencies. But for a list you must quote the variable as otherwise cmake complains with:

CMake Error at XXX/antlr4-generator-config.cmake:137 (if):
if given arguments:

"(" "ARGC" "GREATER_EQUAL" "7" ")" "AND" "(" "NOT" "YYY/Base.g4" "ZZZ/Expressions.g4" "STREQUAL" "" ")"

Unknown arguments specified
Call Stack (most recent call first):
CMakeLists.txt:95 (antlr4_generate)

…endencies argument properly

The 6th argument takes a list of dependencies. But for a list you must
quote the variable as otherwise cmake complains with:

CMake Error at XXX/antlr4-generator-config.cmake:137 (if):
  if given arguments:

    "(" "ARGC" "GREATER_EQUAL" "7" ")" "AND" "(" "NOT" "YYY/Base.g4" "ZZZ/Expressions.g4" "STREQUAL" "" ")"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:95 (antlr4_generate)

Signed-off-by: Thomas Braun <thomas.braun@byte-physics.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant