diff --git a/source/blood/CMakeLists.txt b/source/blood/CMakeLists.txt index ecafe832f..22bd2d307 100644 --- a/source/blood/CMakeLists.txt +++ b/source/blood/CMakeLists.txt @@ -5,9 +5,9 @@ require_strnicmp() # Build does not work with signed chars! if (MSVC) - set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /J" ) + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /J /DNOONE_EXTENSIONS" ) else() - set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -funsigned-char -Wno-missing-braces -Wno-char-subscripts -Wno-unused-variable" ) + set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -funsigned-char -Wno-missing-braces -Wno-char-subscripts -Wno-unused-variable -DNOONE_EXTENSIONS" ) endif() include_directories( "${CMAKE_CURRENT_SOURCE_DIR}/../../build/include" )