From 22974bb85df2028a7c56dd8ea7da406ab8bb4eee Mon Sep 17 00:00:00 2001 From: Aki Date: Sat, 14 Jan 2023 23:33:33 +0100 Subject: Fixed installation prefix definition --- toolchain.cmake.in | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/toolchain.cmake.in b/toolchain.cmake.in index b2d8d32..00f58f1 100644 --- a/toolchain.cmake.in +++ b/toolchain.cmake.in @@ -21,9 +21,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY) -if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT) - set(CMAKE_INSTALL_PREFIX "${MINGW_ROOT}") -endif() +set(CMAKE_INSTALL_PREFIX "${MINGW_ROOT}" CACHE PATH "Installation prefix") find_program(MINGW_WINE wine) if(MINGW_WINE) -- cgit v1.1