Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,14 @@ if (ZK_ENABLE_FUTURE)
endif ()

include(support/BuildSupport.cmake)

if (ZK_ENABLE_ASAN)
message(WARNING "ZenKit: ASAN enabled")
else ()
message(WARNING "ZenKit: ASAN disabled")
Comment on lines +113 to +114
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's only print when it's enabled since warning messages shouldn't appear in standard builds.

Suggested change
else ()
message(WARNING "ZenKit: ASAN disabled")

endif()
bs_select_cflags(${ZK_ENABLE_ASAN} _ZK_COMPILE_FLAGS _ZK_LINK_FLAGS)

bs_check_posix_mmap(_ZK_HAS_MMAP_POSIX)
bs_check_win32_mmap(_ZK_HAS_MMAP_WIN32)

Expand Down
Loading