mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[CMAKE]
* Rely on CMAKE_HOST_WIN32 instead of CMAKE_HOST_SYSTEM_NAME which, sometimes, isn't set for some reason. Should fix the incorrect MINGW_TOOLCHAIN_PREFIX value issue. svn path=/trunk/; revision=58292
This commit is contained in:
parent
29c6f1ee4d
commit
735f00f3aa
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ endif()
|
|||
if (NOT DEFINED MINGW_TOOLCHAIN_PREFIX)
|
||||
if(ARCH STREQUAL "i386")
|
||||
|
||||
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
|
||||
if(CMAKE_HOST_WIN32)
|
||||
set(MINGW_TOOLCHAIN_PREFIX "" CACHE STRING "MinGW Toolchain Prefix")
|
||||
else()
|
||||
if(NOT $ENV{_ROSBE_VERSION} VERSION_LESS 2.1)
|
||||
|
|
Loading…
Reference in a new issue