Author: akhaldi Date: Wed Feb 6 22:10:51 2013 New Revision: 58292
URL: http://svn.reactos.org/svn/reactos?rev=58292&view=rev Log: [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.
Modified: trunk/reactos/toolchain-gcc.cmake
Modified: trunk/reactos/toolchain-gcc.cmake URL: http://svn.reactos.org/svn/reactos/trunk/reactos/toolchain-gcc.cmake?rev=582... ============================================================================== --- trunk/reactos/toolchain-gcc.cmake [iso-8859-1] (original) +++ trunk/reactos/toolchain-gcc.cmake [iso-8859-1] Wed Feb 6 22:10:51 2013 @@ -7,7 +7,7 @@ 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)