- reactivate the #ifdef'd stuff in the project

This commit is contained in:
Christoph Oelckers 2020-01-26 20:28:34 +01:00
parent 0693b0efc8
commit 1ba5eaa281

View file

@ -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" )