When creating WebCoreMacros.cmake, I forgot to move some includes from WebKitMacros.cmake: include(CMakeParseArguments) include(ProcessorCount) ProcessorCount(PROCESSOR_COUNT)
"include" command of cmake (just like #include in C preprocessor) has no protection against multiple inclusion of the same file ("module"). Some built-in modules implement ad-hoc protection, but not all of them. It can be a better idea to include built-in cmake modules in shared cmake files instead of moving them down to "subprojects", and maybe even move them all to the root CMakeLists.txt or to new file like Source/cmake/Includes.cmake
I hate CMake....
Another way is to introduce wrapper for include() that will implement protection, so that it can be used everywhere without limits
Created attachment 315689 [details] Patch
Comment on attachment 315689 [details] Patch Clearing flags on attachment: 315689 Committed r219580: <http://trac.webkit.org/changeset/219580>
All reviewed patches have been landed. Closing bug.