aboutsummaryrefslogtreecommitdiff
path: root/src/tools/extractor_common
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-09-20 13:19:42 +0200
committerShauren <shauren.trinity@gmail.com>2024-09-20 13:19:42 +0200
commit7ac0c685dd01bdce2d1ee0bb878e5044b3c1fffa (patch)
tree660a3b1ed42ca2cfe6b1d5fbfd5b811678c8b3e3 /src/tools/extractor_common
parent24d08307e4156ef57c2662a882a227cf8eba1424 (diff)
Build: Add WITH_WARNINGS_AS_ERRORS cmake option that turns compile warnings into compile errors
Diffstat (limited to 'src/tools/extractor_common')
-rw-r--r--src/tools/extractor_common/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tools/extractor_common/CMakeLists.txt b/src/tools/extractor_common/CMakeLists.txt
index 902fe06e689..8455731db7e 100644
--- a/src/tools/extractor_common/CMakeLists.txt
+++ b/src/tools/extractor_common/CMakeLists.txt
@@ -26,6 +26,6 @@ target_include_directories(extractor_common
${CMAKE_CURRENT_SOURCE_DIR})
set_target_properties(extractor_common
- PROPERTIES
- FOLDER
- "tools")
+ PROPERTIES
+ COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
+ FOLDER "tools")