Created by: garyttierney
Hi, just a simple build system bugfix for an issue I ran into while seeing if I could easily run the CMake build with Clang on Windows.
There are a few instances of CMake generator expressions that attempt to
check a configuration time option and convert it to a boolean, but use
the literal string name of the option instead of expanding it to the
value. The result is that every expression evaluates to true
, per: https://cmake.org/cmake/help/latest/manual/cmake-generator-expressions.7.html#logical-operators
I've opened a separate PR against the luabind fork for the same thing: https://github.com/OpenXRay/luabind-deboostified/pull/21