pmt: fix build issues with NDK

This commit is contained in:
2025-07-29 21:20:31 +03:00
parent 0b76d33715
commit fe51bf1644
31 changed files with 3 additions and 2 deletions

2
CMakeLists.txt Normal file → Executable file
View File

@@ -20,7 +20,7 @@ project(pmt VERSION 1.0.0)
# Set compiler flags
add_compile_options(-Wall -Werror)
if(${CMAKE_BUILD_TYPE} STREQUAL Debug)
if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug")
add_compile_options(-gdwarf-5 -fsanitize=address -fstack-protector)
add_link_options(-fsanitize=address)
endif()