mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 04:52:17 +02:00
fix for 'C1128: number of sections exceeded object file format limit'
This commit is contained in:
parent
42f6333948
commit
a1e0f31cd8
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ find_package(Qt5LinguistTools REQUIRED)
|
|||
find_package(Qt5LinguistToolsMacros)
|
||||
|
||||
if (WIN32)
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -bigobj")
|
||||
add_definitions(-D_USE_MATH_DEFINES) # apparently needed to get M_PI and other defines from cmath/math.h
|
||||
add_definitions(-DWINDOWS_LEAN_AND_MEAN) # needed to make sure windows doesn't go to crazy with its defines
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue