Skip to content

Commit

Permalink
-O3 with MinGW 4.9.1 on Windows crashes, only use -O2 for now
Browse files Browse the repository at this point in the history
  • Loading branch information
gablank committed Jan 27, 2015
1 parent 62f8542 commit 31bad3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ project(multivariate-splines)
cmake_minimum_required(VERSION 2.8)
set(CMAKE_BUILD_TYPE Release)

if(WIN32)
set(CMAKE_CXX_FLAGS_RELEASE "-O2")
endif(WIN32)

set(MULTIVARIATESPLINES_VERSION_MAJOR 1)
set(MULTIVARIATESPLINES_VERSION_MINOR 2)
set(MULTIVARIATESPLINES_VERSION ${MULTIVARIATESPLINES_VERSION_MAJOR}-${MULTIVARIATESPLINES_VERSION_MINOR})
Expand Down

0 comments on commit 31bad3f

Please sign in to comment.