This commit is contained in:
Benjamin Sergeant 2019-02-22 21:27:49 -08:00
parent 8c3473a91a
commit 67e5957064
2 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ set (CMAKE_CXX_STANDARD 14)
set (CXX_STANDARD_REQUIRED ON)
set (CMAKE_CXX_EXTENSIONS OFF)
# -Wshorten-64-to-32 does not work with clang
if (NOT WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -pedantic")
endif()