Vladimír Vondruš
338b953ca3
CMake: use if(var MATCHES ...) instead of if(${var} MATCHES ...).
3 years ago
Vladimír Vondruš
5d8686e0b8
modules: add a TODO for CMake 3.10.
3 years ago
Vladimír Vondruš
bbb54a9df8
It's 2023 already!
3 years ago
Vladimír Vondruš
822fa0d644
Updated copyright year.
4 years ago
Vladimír Vondruš
4acb2acae9
modules: link to CoreAudio in case of a static OpenAL (Soft) on Apple.
4 years ago
Vladimír Vondruš
3d136503d8
Updated copyright year.
5 years ago
Vladimír Vondruš
28c2dbf167
modules: don't look for OpenAL config on Emscripten.
...
It causes OpenAL from /usr to be picked up, which then causes
/usr/include to be on the include path, which then causes MY BLOOD TO
BOIL.
6 years ago
Vladimír Vondruš
1b1347f571
modules: find the OpenAL DLL also with the imported target.
...
And update the DLL copying to handle Debug as well.
6 years ago
Vladimír Vondruš
25f7d79a96
modules: rewrite FindOpenAL to support static and subproject AL Soft.
...
Strange build breakages, I'm ready for you now!
6 years ago
Vladimír Vondruš
fa50929c78
modules: explicitly link to Emscripten GL and OpenAL libraries.
...
Emscripten's MINIMAL_RUNTIME requires -lGL or -lopenal to be specified
(the default does that implicitly). It doesn't hurt to do that every
time and it makes the Find modules slightly simpler.
7 years ago
Vladimír Vondruš
1c433486cd
Consistently use macOS instead of OSX.
9 years ago
Vladimír Vondruš
5ddab8b308
modules: properly list modifications done to the FindOpenAL module.
10 years ago
Vladimír Vondruš
8586fa575d
modules: adapt FindOpenAL.cmake to Emscripten.
...
Emscripten bundles the OpenAL library implicitly, so there's no
OPENAL_LIBRARY needed. Also minor other changes required for extracting
the module out of the official location.
10 years ago
Vladimír Vondruš
8a603c8471
modules: adopt upstream FindOpenAL.cmake.
...
Taken from version 3.6.1,
https://github.com/Kitware/CMake/blob/v3.6.1/Modules/FindOpenAL.cmake .
Will be modified for Emscripten support.
10 years ago