visualboyadvance-m/cmake
Rafael Kitover 23fe13d8fb
cmake: fix syntax error in Win32Deps.cmake
In a construct such as:

```cmake
if($ENV{FOO} MATCHES bar)
...
endif()
```

if the environment variable is not set, the if statement becomes a
syntax error because there is nothing being compared.

Fix this by quoting the environment variable like so:

```cmake
if("$ENV{FOO}" MATCHES bar)
...
endif()
```

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2019-03-23 08:22:57 -07:00
..
Architecture.cmake auto deps for visual studio, take 1 2019-03-21 16:01:46 -07: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 adjust changelog version regex for cur. version 2018-03-17 12:32:27 -04:00
FindDirectX.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07: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 rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07: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 Revert "hopefully fix bin2c for msvc" 2018-09-16 11:14:49 -07:00
LLVMToolchain.cmake detect llvm toolchain utilities #392 2019-03-19 18:41:25 -07:00
MacPackageManagers.cmake rename CMakeScripts/ to cmake/ 2017-09-13 20:30:33 -07:00
PathRun.cmake work around gcc lto wrappers bug with gcc 7.x 2017-09-16 19:47:39 -07:00
Toolchain-cross-MinGW-w64-i686.cmake cmake: support linuxbrew mingw toolchain 2018-11-11 19:33:55 -08:00
Toolchain-cross-MinGW-w64-x86_64.cmake cmake: support linuxbrew mingw toolchain 2018-11-11 19:33:55 -08:00
Toolchain-cross-m32.cmake cmake: fix finding 32 bit wxWidgets on gentoo 2019-02-22 08:50:04 -08:00
UseGCCBinUtilsWrappers.cmake work around gcc lto wrappers bug with gcc 7.x 2017-09-16 19:47:39 -07:00
VbamFunctions.cmake mac build/builder improvements 2017-10-22 15:35:56 -07:00
Win32Deps.cmake cmake: fix syntax error in Win32Deps.cmake 2019-03-23 08:22:57 -07:00