[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    Re: [calligra/calligra/2.9] krita: Fix G'Mic on Windows
From:       Lukast dev <lukast.dev () gmail ! com>
Date:       2015-02-04 19:50:31
Message-ID: CAKdU0rMAmacDr2eKKZKheyt-y8itMi6Dk5RoQapQai6KjrGh3Q () mail ! gmail ! com
[Download RAW message or body]

Stuart, I think you should probably update both STACK values, right?

2015-02-02 23:58 GMT+01:00 Stuart Dickson <stuartmd@krita.org>:
> Git commit 9715bb56962e5f1b589f6ca94018986e0a909896 by Stuart Dickson.
> Committed on 02/02/2015 at 22:43.
> Pushed by dickson into branch 'calligra/2.9'.
>
> Fix G'Mic on Windows
>
> Increasing CMAKE_CXX_STACK_SIZE for Windows builds.
>
> M  +1    -1    krita/CMakeLists.txt
>
> http://commits.kde.org/calligra/9715bb56962e5f1b589f6ca94018986e0a909896
>
> diff --git a/krita/CMakeLists.txt b/krita/CMakeLists.txt
> index 7580593..b968bbf 100644
> --- a/krita/CMakeLists.txt
> +++ b/krita/CMakeLists.txt
> @@ -29,7 +29,7 @@ if(MSVC OR (WIN32 AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel"))
>          include_directories(${CMAKE_SOURCE_DIR}/3rdparty/google-breakpad/src)
>      endif (USE_BREAKPAD)
>      set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /STACK:16777216") # for g'mic...
> -    set(CMAKE_CXX_STACK_SIZE "16777216")
> +    set(CMAKE_CXX_STACK_SIZE "999999999")
>  endif(MSVC OR (WIN32 AND "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Intel"))
>
>  if(NOT WIN32)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic