mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-17 03:29:12 +01:00
659d079d5c
OS X uses a case insensitive filesystem by default: when I try to build, a system header does #include <assert.h>, which picks up Source/Core/Common/Assert.h. This only happens because CMakeLists adds '${PROJECT_BINARY_DIR}/Source/Core/Common' as an include directory: in an out-of-tree build, that directory contains no other source files, but in an in-tree build PROJECT_BINARY_DIR is just the source root. This is only used for scmrev.h. Change the include directory to '${PROJECT_BINARY_DIR}/Source/Core' and the include to "Common/scmrev.h", which is more consistent with normal headers anyway.