visualboyadvance-m/cmake
Rafael Kitover c9595c3668
Fix checking for `wx-config` first on Gentoo.
Followup on 98b2fb6e.

To make a one element of empty string list in cmake, you have to set the
variable to `";"`.

If it is set to `""`, a subsequent `list(APPEND ...)` will consider the
variable unset.

With this fix, `/usr/bin/wx-config` is tried first on Gentoo, as was
intended in 98b2fb6e.

The rationale for this is that on Gentoo, app-eselect/eselect-wxwidgets
links `/usr/bin/wx-config` to the user's preferred version of wxWidgets,
while on other distributions such as Arch, we want to check for the 3.x
gtk3 variant explicitly first.

Also add a modeline to `VbamFunctions.cmake`.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2020-12-05 11:37:40 +00:00
..
Architecture.cmake cmake: Fix fedora mingw build + misc improvements. 2020-02-01 16:43:08 +00:00
CMakeASM_NASMInformation.cmake cmake: remove <INCLUDES> from nasm definition 2019-02-22 15:11:01 +00:00
CMakeDetermineASM_NASMCompiler.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
CMakeTestASM_NASMCompiler.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
ChangeLogVersion.cmake cmake: fix reading version from changelog 2019-10-05 20:32:46 +00:00
FileIterator.cmake cmake: Make FileIterator more correct, add eg.. 2020-01-26 23:35:09 +00:00
FindDirectX.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindFFmpeg.cmake cmake: Fix ffmpeg regression on Windows. 2020-01-23 01:49:44 +00:00
FindGettext.cmake update translations, add new langs from transifex 2018-08-11 16:18:15 -07:00
FindOpenAL.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindSDL2.cmake Fix linking on Msys2. 2020-08-28 05:09:58 +00:00
FindSFML.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
FindSSP.cmake cmake: refactor FindSSP.cmake 2019-02-16 13:04:43 -08:00
GetGitRevisionDescription.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
GetGitRevisionDescription.cmake.in rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
GitTagVersion.cmake add mac release builder script 2017-10-12 01:32:18 -07:00
HostCompile.cmake cmake: fix linking to libssp and linking bin2c 2019-10-17 21:53:15 +00:00
LLVMToolchain.cmake support FreeBSD 2019-04-25 16:22:07 +00:00
MacPackageManagers.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
MakeReleaseCommitAndTag.cmake cmake: Add UPDATE_APPCAST script for appcast.xml. 2020-02-08 22:53:53 +00:00
PathRun.cmake cmake: Silence cmake policy warning CMP0058. 2019-10-05 18:33:44 -07:00
Set-Toolchain-vcpkg.cmake Vcpkg fixes. 2020-08-26 10:07:04 +00:00
Toolchain-cross-MinGW-w64-common.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-i686-static.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-i686.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-x86_64-static.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-MinGW-w64-x86_64.cmake builder: minor fixes for mingw. 2020-02-02 03:35:26 +00:00
Toolchain-cross-m32.cmake cmake: fix finding 32 bit wxWidgets on gentoo 2019-02-22 08:50:04 -08:00
UpdateAppcast.cmake [Windows,MacOS] Auto-updater refactoring. (#639) 2020-05-07 23:06:00 -03:00
UseGCCBinUtilsWrappers.cmake work around gcc lto wrappers bug with gcc 7.x 2017-09-16 19:47:39 -07:00
VbamFunctions.cmake Fix checking for `wx-config` first on Gentoo. 2020-12-05 11:37:40 +00:00
doctest.cmake Replace Catch2 with doctest for unit tests. 2020-08-28 05:14:22 +00:00
doctestAddTests.cmake Replace Catch2 with doctest for unit tests. 2020-08-28 05:14:22 +00:00