summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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()