mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-12-18 06:01:52 +03:00
Disable compiler specific extensions
The property is set to ON by default, now turn it off.
This commit is contained in:
parent
8d3c19c599
commit
567dd3fabb
1 changed files with 1 additions and 1 deletions
|
@ -3,9 +3,9 @@
|
||||||
# to consume common compile options/definitions
|
# to consume common compile options/definitions
|
||||||
|
|
||||||
macro(qbt_common_config)
|
macro(qbt_common_config)
|
||||||
|
|
||||||
# treat value specified by the CXX_STANDARD target property as a requirement by default
|
# treat value specified by the CXX_STANDARD target property as a requirement by default
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
add_library(qbt_common_cfg INTERFACE)
|
add_library(qbt_common_cfg INTERFACE)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue