Unbreak the build against new Clang version 6.0.0

pull/186/head
Carlos J 2018-01-15 23:43:15 +01:00
parent bff462211a
commit b06f66c86d
1 changed files with 4 additions and 0 deletions

View File

@ -142,6 +142,10 @@ target_link_libraries( btest
${Boost_LIBRARIES}
)
if ( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" )
set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++11-narrowing" )
endif ( ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD" )
if ( WIN32 )
else ( WIN32 )
set_target_properties( btest