Explicitly construct a `string_piece` when comparing to `char*`
In C++20, `operator==` candidates include rewritten candidates with reversed operand order, so this function creates infinite recursion just flipping operands back and forth. In C++17, it relies on implicit construction of a `string_piece`.
CMake would need a `BUNDLE DESTINATION` for installing
MACOSX_BUNDLE targets. It falls back to use `RUNTIME
DESTINATION` as per the `OLD` behavior of CMP0006
(https://cmake.org/cmake/help/latest/policy/CMP0006.html),
but that's deprecated and will be removed in future versions.
dc9d28a...
by
=?utf-8?q?Nathan_Gau=C3=ABr?= <email address hidden>
tests: update tests' glslangvalidator version (#1275)
glslang bumped its major from 10 to 11. Fixing tests.
* test: fix -o test counting newlines.
This test counts the number of new lines in the produces binary.
It iterates over the bytes, and searchs the for '\n' char.
'\n' is 0xA in ASCII, but ASCII is used for other things, like
a number (here GLSL version number).