File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,6 @@ macro(os_set_flags)
6868 set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${ADDITIONAL_COMPILER_FLAGS} " )
6969 set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${ADDITIONAL_COMPILER_FLAGS} " )
7070
71- set (CMAKE_CSharp_FLAGS "${CMAKE_CSharp_FLAGS} /nowarn" ) # disable warnings for C#
7271 set_directory_properties (PROPERTIES DIRECTORY third-party/ COMPILE_OPTIONS "/W0" )
7372 set_source_files_properties (third-party/*.* PROPERTIES COMPILE_OPTIONS "/W0" )
7473
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ cmake_minimum_required( VERSION 3.8.0 )
22
33project (LANGUAGES CSharp)
44include (CSharpUtilities)
5- set (CMAKE_CSharp_FLAGS "/langversion:6" )
5+ set (CMAKE_CSharp_FLAGS "/langversion:6 /warnnotaserror " )
66
77add_subdirectory (Intel.RealSense)
88add_subdirectory (tutorial/depth)
You can’t perform that action at this time.
0 commit comments