mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-17 10:35:10 +00:00
CMAKE_CXX_EXTENSIONS should be disabled by default.
This commit is contained in:
parent
d2831ba197
commit
4445b3c065
@ -45,7 +45,7 @@ set(CMAKE_CXX_FLAGS "-std=c++17 ${CMAKE_CXX_FLAGS}"
|
|||||||
FORCE)
|
FORCE)
|
||||||
set(CMAKE_CXX_STANDARD 17)
|
set(CMAKE_CXX_STANDARD 17)
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||||
set(CMAKE_CXX_EXTENSIONS ON)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
|
|
||||||
if(MAINTAINER_MODE)
|
if(MAINTAINER_MODE)
|
||||||
set(BUILD_TESTS true)
|
set(BUILD_TESTS true)
|
||||||
|
Loading…
Reference in New Issue
Block a user