Try / Tempest

3d graphics engine
MIT License
83 stars 24 forks source link

FreeBSD port: Check for Unix #47

Closed raphaelahrens closed 1 year ago

raphaelahrens commented 1 year ago

a lot of the libraries which are required to build Tempest on Linux are not Linux specific and are also available on other Unix like OSs (FreeBSD, OpenBSD, ...)

This commit changes the checks from Linux to Unix.

This commit has not been tested on the other platforms.

FreeBSD by default comes whit OSS and not ALSA. The build flags were copied from the OpenAL-soft port.

raphaelahrens commented 1 year ago

mhhh ok after some back and forth I managed so that the build only fails with mingw. But here I reached my limit. Maybe mingw is considered a unix? I must say this experience is quite frustrating and the error unhelpful.

Try commented 1 year ago

I think, this because openal 1.23 - error log complain about [[unlikely]], what is C++20 feature.

Started new build, now

Try commented 1 year ago

Merged, thanks!