aboutsummaryrefslogtreecommitdiff
path: root/unit/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'unit/CMakeLists.txt')
-rwxr-xr-xunit/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/unit/CMakeLists.txt b/unit/CMakeLists.txt
index 66ae482..28d7ce9 100755
--- a/unit/CMakeLists.txt
+++ b/unit/CMakeLists.txt
@@ -25,5 +25,5 @@ target_include_directories(bhunit PUBLIC include)
if(MSVC)
target_compile_options(bhunit PRIVATE /W4 /WX)
else()
- target_compile_options(bhunit PRIVATE -Wall -Wextra -Wpedantic -Werror)
+ target_compile_options(bhunit PRIVATE -Wall -Wextra -Wpedantic -Werror -fstrict-aliasing)
endif() \ No newline at end of file