remove warnings on unit tests (from #88)
This commit is contained in:
parent
64c467e940
commit
4f92731823
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ if(MSVC)
|
||||||
set(CMAKE_CXX_FLAGS
|
set(CMAKE_CXX_FLAGS
|
||||||
"/EHsc"
|
"/EHsc"
|
||||||
)
|
)
|
||||||
|
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
|
||||||
else(MSVC)
|
else(MSVC)
|
||||||
set(CMAKE_CXX_FLAGS
|
set(CMAKE_CXX_FLAGS
|
||||||
"-std=c++11 -stdlib=libc++"
|
"-std=c++11 -stdlib=libc++"
|
||||||
|
|
Loading…
Reference in a new issue