Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

cmake: work around LLVM's -DNDEBUG, once again

  • Loading branch information...
commit d47e7cb7eb975af8f71a25c557b1ec1f07cee7df 1 parent 32b4234
@christianparpart authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  cmake/FindLLVM.cmake
View
2  cmake/FindLLVM.cmake
@@ -7,7 +7,7 @@
find_program(LLVM_CONFIG_EXECUTABLE NAMES llvm-config DOC "path to llvm-config executable")
execute_process(
- COMMAND sh -c "${LLVM_CONFIG_EXECUTABLE} --cppflags | sed s/-DNDEBUG=1//g"
+ COMMAND sh -c "${LLVM_CONFIG_EXECUTABLE} --cppflags | sed 's/-DNDEBUG\\(=1\\)\\?//g'"
OUTPUT_VARIABLE LLVM_CPPFLAGS
OUTPUT_STRIP_TRAILING_WHITESPACE
)
Please sign in to comment.
Something went wrong with that request. Please try again.