Attempt to fix build error on Windows
Was failing since 1efc94bb2f
, probably because some include uses
`std::min()`/`std::max()` which messes with the windows min/max defines.
This commit is contained in:
parent
32757b2429
commit
d49dec896a
|
@ -46,6 +46,10 @@ set(LIB
|
|||
bf_blenkernel
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
add_definitions(-DNOMINMAX)
|
||||
endif()
|
||||
|
||||
if(WITH_HEADLESS)
|
||||
add_definitions(-DWITH_HEADLESS)
|
||||
else()
|
||||
|
|
Loading…
Reference in New Issue