summaryrefslogtreecommitdiffstats
path: root/cmake/GodotCompilerWarnings.cmake
diff options
context:
space:
mode:
authorSamuel Nicholas <nicholas.samuel@gmail.com>2024-09-13 22:06:25 +0930
committerSamuel Nicholas <nicholas.samuel@gmail.com>2024-09-14 09:04:01 +0930
commit390a9a5590c9e162f838fb7ed5a58e45d5b14643 (patch)
tree4092da14473f71f36cc21b60d4740340b765d31c /cmake/GodotCompilerWarnings.cmake
parent4131b7f95f5a4ec660484431b175e15d95aed8db (diff)
downloadredot-cpp-390a9a5590c9e162f838fb7ed5a58e45d5b14643.tar.gz
Updated all variable names to use GODOT_ prefix
changed cache type for api file and api dir to FILEPATH and PATH respectively. Minor whitespace. docstring parity
Diffstat (limited to 'cmake/GodotCompilerWarnings.cmake')
-rw-r--r--cmake/GodotCompilerWarnings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/GodotCompilerWarnings.cmake b/cmake/GodotCompilerWarnings.cmake
index 423e636..9455641 100644
--- a/cmake/GodotCompilerWarnings.cmake
+++ b/cmake/GodotCompilerWarnings.cmake
@@ -89,6 +89,6 @@ function( set_warning_as_error )
endif()
endfunction()
-if ( GODOT_CPP_WARNING_AS_ERROR )
+if ( GODOT_WARNING_AS_ERROR )
set_warning_as_error()
endif()