From 991d0acc82587b23ce7a96cf179638fba333135c Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 14 Jan 2023 23:11:42 +0100 Subject: Use prefixed variables for Wine --- toolchain.cmake.in | 6 +++--- 1 file 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() -- cgit v1.1