summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2023-01-14 23:11:42 +0100
committerAki <please@ignore.pl>2023-01-14 23:11:42 +0100
commit991d0acc82587b23ce7a96cf179638fba333135c (patch)
tree15baeb32d50b6a7ff6b55f418f7a683cb4983453
parenta04409ad9b1f0ac230db216b0f53e2593dc46b68 (diff)
downloadmingw-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.in6
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()