mirror of https://github.com/vitalif/grive2
Unbreak the build against new Clang version 6.0.0
parent
bff462211a
commit
b06f66c86d
|
@ -142,6 +142,10 @@ target_link_libraries( btest
|
||||||
${Boost_LIBRARIES}
|
${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 )
|
if ( WIN32 )
|
||||||
else ( WIN32 )
|
else ( WIN32 )
|
||||||
set_target_properties( btest
|
set_target_properties( btest
|
||||||
|
|
Loading…
Reference in New Issue