Browse Source

Disable compiler specific extensions

The property is set to ON by default, now turn it off.
adaptive-webui-19844
Chocobo1 3 years ago
parent
commit
567dd3fabb
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  1. 2
      cmake/Modules/MacroQbtCommonConfig.cmake

2
cmake/Modules/MacroQbtCommonConfig.cmake

@ -3,9 +3,9 @@ @@ -3,9 +3,9 @@
# to consume common compile options/definitions
macro(qbt_common_config)
# treat value specified by the CXX_STANDARD target property as a requirement by default
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
add_library(qbt_common_cfg INTERFACE)

Loading…
Cancel
Save