Fix examples compilation for some combinations of Clang and libstdc++
This commit is contained in:
1 parent
94121a5f6d
commit
1a501fcb48
1 file changed
+1
@@ -85,6 +85,7 @@ foreach( name ${TARGETS_ALL} )
|
||||
target_include_directories( ${name} PRIVATE ${HEADER_DIR} )
|
||||
|
||||
set_property(TARGET ${name} PROPERTY CXX_STANDARD 11)
|
||||
set_property(TARGET ${name} PROPERTY CXX_EXTENSIONS OFF)
|
||||
|
||||
# Add desired warnings
|
||||
if ( CMAKE_CXX_COMPILER_ID MATCHES "Clang|AppleClang|GNU" )
|
||||
|
||||
Reference in new issue
Block a user