Skip to content

Commit

Permalink
Hide copious warnings about spurious memory leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
qris committed Dec 9, 2015
1 parent 8284254 commit e5cf6b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/cmake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ target_compile_definitions(qdbm PUBLIC -DQDBM_STATIC)

# Silence some less-useful warnings
if(MSVC)
add_definitions(/wd4996)
add_definitions(/wd4996 /wd4291)
# target_link_libraries(qdbm PRIVATE /IGNORE:LNK4006)
set_property(TARGET qdbm PROPERTY CMAKE_STATIC_LINKER_FLAGS /IGNORE:LNK4006)
endif(MSVC)
Expand Down

0 comments on commit e5cf6b9

Please sign in to comment.