diff options
Diffstat (limited to 'Tests/RunCMake/CompileFeatures')
8 files changed, 4 insertions, 4 deletions
diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX11.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX11.cmake index 10b251a..f60504f 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX11.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX11.cmake @@ -1,4 +1,5 @@ add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 11) +set_property(TARGET foo PROPERTY CXX_EXTENSIONS FALSE) set_property(TARGET foo PROPERTY CXX_STANDARD_REQUIRED TRUE) diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX11Ext.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX11Ext.cmake index 9e726c8..10b251a 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX11Ext.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX11Ext.cmake @@ -1,5 +1,4 @@ add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 11) -set_property(TARGET foo PROPERTY CXX_EXTENSIONS TRUE) set_property(TARGET foo PROPERTY CXX_STANDARD_REQUIRED TRUE) diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX11ExtVariable.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX11ExtVariable.cmake index 8f6755f..29703db 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX11ExtVariable.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX11ExtVariable.cmake @@ -2,4 +2,3 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE) add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 11) -set_property(TARGET foo PROPERTY CXX_EXTENSIONS TRUE) diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX11Variable.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX11Variable.cmake index 29703db..c480997 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX11Variable.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX11Variable.cmake @@ -2,3 +2,4 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE) add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 11) +set_property(TARGET foo PROPERTY CXX_EXTENSIONS FALSE) diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX98.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX98.cmake index 4ea595e..fd9fb60 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX98.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX98.cmake @@ -2,3 +2,4 @@ add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 98) set_property(TARGET foo PROPERTY CXX_STANDARD_REQUIRED TRUE) +set_property(TARGET foo PROPERTY CXX_EXTENSIONS FALSE) diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX98Ext.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX98Ext.cmake index fdf4cc7..4ea595e 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX98Ext.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX98Ext.cmake @@ -1,5 +1,4 @@ add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 98) -set_property(TARGET foo PROPERTY CXX_EXTENSIONS TRUE) set_property(TARGET foo PROPERTY CXX_STANDARD_REQUIRED TRUE) diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX98ExtVariable.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX98ExtVariable.cmake index a26a22d..0e3ef8d 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX98ExtVariable.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX98ExtVariable.cmake @@ -2,4 +2,3 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE) add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 98) -set_property(TARGET foo PROPERTY CXX_EXTENSIONS TRUE) diff --git a/Tests/RunCMake/CompileFeatures/RequireCXX98Variable.cmake b/Tests/RunCMake/CompileFeatures/RequireCXX98Variable.cmake index 0e3ef8d..7562264 100644 --- a/Tests/RunCMake/CompileFeatures/RequireCXX98Variable.cmake +++ b/Tests/RunCMake/CompileFeatures/RequireCXX98Variable.cmake @@ -2,3 +2,4 @@ set(CMAKE_CXX_STANDARD_REQUIRED TRUE) add_library(foo empty.cpp) set_property(TARGET foo PROPERTY CXX_STANDARD 98) +set_property(TARGET foo PROPERTY CXX_EXTENSIONS FALSE) |