Fix cmake syntax error

This commit is contained in:
Dale Glass 2022-06-09 00:40:12 +02:00
parent b1ca28b813
commit 1650b431e0

View file

@ -169,8 +169,8 @@ if(OVERTE_WARNINGS_WHITELIST)
endif()
if(OVERTE_WARNINGS_AS_ERRORS)
set(ENV{CXXFLAGS "$ENV{CXXFLAGS} -Werror"})
set(ENV{CFLAGS "$ENV{CXXFLAGS} -Werror"})
set(ENV{CXXFLAGS} "$ENV{CXXFLAGS} -Werror")
set(ENV{CFLAGS} "$ENV{CXXFLAGS} -Werror")
endif()