suppress annoying boost warning with msvc
This commit is contained in:
@@ -5,7 +5,7 @@ if (CMAKE_BUILD_TOOL MATCHES "make")
|
||||
endif (CMAKE_BUILD_TOOL MATCHES "make")
|
||||
|
||||
if(MSVC)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
|
||||
add_definitions(-D_CRT_SECURE_NO_WARNINGS /wd4244)
|
||||
endif(MSVC)
|
||||
|
||||
include_directories(${PYTHON_INCLUDE_DIRS})
|
||||
|
||||
Reference in New Issue
Block a user