1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-05 15:55:45 +00:00

Skip the check on MacOS

It doesn't work, the workaround isn't enough to make it work, I can't be bothered making a more powerful workaround, and it's impossible to *package* a MacOS build missing the plugins we need anyway, even if you can build and attempt to run it.
This commit is contained in:
AnyOldName3 2024-02-22 00:24:44 +00:00
parent 2c1c8bc8de
commit 2a5f8d5bab

View File

@ -15,11 +15,14 @@
namespace Misc
{
#ifdef OSG_LIBRARY_STATIC
#if defined(OSG_LIBRARY_STATIC) || defined(__APPLE__)
bool checkRequiredOSGPluginsArePresent()
{
// assume they were linked in at build time and CMake would have failed if they were missing
// true-ish for MacOS - they're copied into the package and that'd fail if they were missing,
// but if you don't actually make a MacOS package and run a local build, this won't notice.
// the workaround in the real implementation isn't powerful enough to make MacOS work, though.
return true;
}