1
0
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:
Brenden Matthews 2021-04-24 10:29:50 -05:00 committed by Brenden Matthews
parent d2831ba197
commit 4445b3c065

View File

@ -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)