Skip to content

Commit

Permalink
mingw build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
marguerite committed Oct 3, 2012
1 parent cc4dd6a commit 5483e8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/Toolchain-windows-mingw32-openSUSE.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ SET(MINGW_PREFIX "i686-w64-mingw32")

SET(CMAKE_SYSTEM_NAME Windows)
SET(CMAKE_EXECUTABLE_SUFFIX ".exe")
SET(CMAKE_EXE_LINKER_FLAGS "-static")
SET(CMAKE_EXE_LINKER_FLAGS_RELEASE "-s")

SET(CMAKE_C_COMPILER ccache ${MINGW_PREFIX}-gcc)
SET(CMAKE_CXX_COMPILER ccache ${MINGW_PREFIX}-g++)
Expand Down

0 comments on commit 5483e8b

Please sign in to comment.