commit | 30c07f4e5551e9c00837090b14a67c1cd3c0ad19 | [log] [tgz] |
---|---|---|
author | Jason Sanmiya <jsanmiya@google.com> | Fri Jul 22 19:04:23 2016 -0700 |
committer | Jason Sanmiya <jsanmiya@google.com> | Tue Jul 26 07:26:25 2016 -0700 |
tree | cec92dca28dc9eb113f61c0d2eccb15933753103 | |
parent | 2d427e0502e0bcbc0a76badd0c8dea634ddd273a [diff] |
Fix Mac build. The new line in the set(CMAKE_CXX_FLAGS...) line was getting insert verbatim into the Makefile. Makefiles don't like new lines in their assignment operators. The newline escape fix works for CMake 3.0 and above, but since we support 2.x, we need to use the legacy solution, which is to split into two separate statements. Tested: cmake -G"Unix Makefiles" works now on Mac. Change-Id: I6f4655981b85087c4760c3d26ed0c97c4469ba93