Remove compiler warnings from the CMakeLists

The existing compiler warnings expected either clang/GCC or MSVC, thus
making CMakeLists less future proof.
This commit is contained in:
2025-09-06 16:16:57 +03:00
parent 5dc36b222f
commit 7cae704504
3 changed files with 0 additions and 21 deletions

View File

@@ -20,10 +20,3 @@ set(BHUNIT_HEADER
# Library
add_library(BHUnit STATIC ${BHUNIT_SOURCE} ${BHUNIT_HEADER})
target_include_directories(BHUnit PUBLIC include)
# Enable all compiler warnings
if(MSVC)
target_compile_options(BHUnit PRIVATE /W4 /WX)
else()
target_compile_options(BHUnit PRIVATE -Wall -Wextra -Wpedantic -Werror -fstrict-aliasing)
endif()