1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 17:15:35 +00:00

[General] Don't require crashcatcher when not building on Windows

This commit is contained in:
David Cernat 2021-07-25 19:22:11 +02:00
parent 3f3fe66fde
commit eb50d3e497

View file

@ -226,7 +226,8 @@ add_component_dir (fallback
# Start of tes3mp change (major)
#
# Don't require the crashcatcher when building the server
# Don't require the crashcatcher when building on platforms other than Windows or when building only the server,
# as it causes compilation problems
if (BUILD_OPENMW OR BUILD_OPENCS)
if(WIN32)
add_component_dir (crashcatcher
@ -234,10 +235,6 @@ if (BUILD_OPENMW OR BUILD_OPENCS)
windows_crashmonitor
windows_crashshm
)
elseif(NOT ANDROID)
add_component_dir (crashcatcher
crashcatcher
)
endif()
endif()
# End of tes3mp change (major)