aboutsummaryrefslogtreecommitdiff
path: root/cmake/32-bit-toolchain.cmake
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cmake/32-bit-toolchain.cmake (renamed from msys2/32-bit-toolchain.cmake)2
1 files changed, 1 insertions, 1 deletions
diff --git a/msys2/32-bit-toolchain.cmake b/cmake/32-bit-toolchain.cmake
index 91665a21b..4543c1066 100644
--- a/msys2/32-bit-toolchain.cmake
+++ b/cmake/32-bit-toolchain.cmake
@@ -8,7 +8,7 @@ set (CMAKE_NM nm CACHE FILEPATH "" FORCE)
#set (CMAKE_RANLIB ${GCC_PREFIX}-gcc-ranlib CACHE FILEPATH "" FORCE)
set (CMAKE_RC_COMPILER windres)
-set (CMAKE_FIND_ROOT_PATH c:/msys2/mingw32)
+set (CMAKE_FIND_ROOT_PATH "${MSYS2_FOLDER}/mingw32")
# Ensure cmake doesn't find things in the wrong places
set (CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) # Find programs on host