Displaying 1 result from an estimated 1 matches for "9eb0fac8".
2015 Oct 06
2
Extra space in LLVM_DEFINITIONS causes CMake 3.1 to fail
LLVM_DEFINITIONS used to be defined as
set(LLVM_DEFINITIONS "-D__STDC_LIMIT_MACROS" "-D__STDC_CONSTANT_MACROS")
Now it is defined as
set(LLVM_DEFINITIONS " -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS")
(note that it is no longer a cmake list but a string, and the string contains a leading space!)
This causes CMake 3.1 to emit
g++ -D