diff options
-rw-r--r-- | toolchain.cmake.in | 4 |
1 files changed, 1 insertions, 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) |