]> git.lizzy.rs Git - nothing.git/commit
search for sdl2 a little better on windows
authorzhiayang <500236+zhiayang@users.noreply.github.com>
Sun, 17 Nov 2019 09:27:51 +0000 (17:27 +0800)
committerGitHub <noreply@github.com>
Sun, 17 Nov 2019 09:27:51 +0000 (17:27 +0800)
commitcaca6ca5a54a476b5eade7899033016f86406562
tree1689f35972523ee0c6aa95455197550e9e17ca2d
parent1e7a461c55404a591ca0fe6ad846b3eaaafa4bea
search for sdl2 a little better on windows

instead of only looking for it with local files, use the `find_package` cmake
thing to look for it first (optionally). Helps when you wanna install SDL with
pacman on MSYS2 or something.
CMakeLists.txt