Skip to content

Commit

Permalink
Fix configure on msys2
Browse files Browse the repository at this point in the history
  • Loading branch information
tresf committed Mar 6, 2016
1 parent 0efcec8 commit ec21e2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/MingwToolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ set(MINGW_TOOL_PREFIX ${MINGW_PREFIX}/bin/${CMAKE_SYSTEM_PROCESSOR

# Windows msys mingw ships with a mostly suitable preconfigured environment
if(DEFINED ENV{MSYSCON})
set(MINGW_PREFIX "/mingw32")
set(MINGW_TOOL_PREFIX "/bin/")
set(MINGW_PREFIX "/mingw${MINGW_ARCH}")
set(MINGW_TOOL_PREFIX "${MINGW_PREFIX}/bin/")

# Msys compiler does not support @CMakeFiles/Include syntax
set(CMAKE_C_USE_RESPONSE_FILE_FOR_INCLUDES OFF)
Expand Down

0 comments on commit ec21e2f

Please sign in to comment.