4 lines
139 B
CMake
4 lines
139 B
CMake
if(CMAKE_Swift_COMPILER_VERSION VERSION_GREATER_EQUAL 3.0)
|
|
set(CMAKE_Swift_COMPILE_OPTIONS_WARNING_AS_ERROR -warnings-as-errors)
|
|
endif()
|