Skip to content

[cmake] Add missing quote to ${CMAKE_CXX_FLAGS} - #5566

Merged
antiagainst merged 2 commits into
iree-org:mainfrom
antiagainst:add-quote
Apr 22, 2021
Merged

antiagainst merged 2 commits into
iree-org:mainfrom
antiagainst:add-quote

Conversation

@antiagainst

Copy link
Copy Markdown
Member

Without it, we can see failures like:

CMake Error at build_tools/cmake/iree_copts.cmake:297 (string):
  string sub-command REPLACE requires at least four arguments.

Without it, we can see failures like:

```
CMake Error at build_tools/cmake/iree_copts.cmake:297 (string):
  string sub-command REPLACE requires at least four arguments.
```

@ScottTodd ScottTodd left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Included an alternate approach, since I prefer explicit behavior over implicit behavior. Up to you.

Comment thread build_tools/cmake/iree_copts.cmake Resolved
@antiagainst
antiagainst merged commit 3075d7b into iree-org:main Apr 22, 2021
@antiagainst
antiagainst deleted the add-quote branch April 22, 2021 21:03
@GMNGeoffrey GMNGeoffrey added the infrastructure Relating to build systems, CI, or testing label May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure Relating to build systems, CI, or testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants