diff options
author | Aki <please@ignore.pl> | 2023-01-14 23:11:42 +0100 |
---|---|---|
committer | Aki <please@ignore.pl> | 2023-01-14 23:11:42 +0100 |
commit | 991d0acc82587b23ce7a96cf179638fba333135c (patch) | |
tree | 15baeb32d50b6a7ff6b55f418f7a683cb4983453 | |
parent | a04409ad9b1f0ac230db216b0f53e2593dc46b68 (diff) | |
download | mingw-w64-cmake-toolchains-991d0acc82587b23ce7a96cf179638fba333135c.zip mingw-w64-cmake-toolchains-991d0acc82587b23ce7a96cf179638fba333135c.tar.gz mingw-w64-cmake-toolchains-991d0acc82587b23ce7a96cf179638fba333135c.tar.bz2 |
Use prefixed variables for Wine
-rw-r--r-- | toolchain.cmake.in | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/toolchain.cmake.in b/toolchain.cmake.in index 7856bbe..b2d8d32 100644 --- a/toolchain.cmake.in +++ b/toolchain.cmake.in @@ -25,7 +25,7 @@ if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) set(CMAKE_INSTALL_PREFIX "${MINGW_ROOT}") endif() -find_program(WINE wine) -if(WINE) - set(CMAKE_CROSSCOMPILING_EMULATOR ${WINE}) +find_program(MINGW_WINE wine) +if(MINGW_WINE) + set(CMAKE_CROSSCOMPILING_EMULATOR ${MINGW_WINE}) endif() |