pmt: fix build issues with NDK
This commit is contained in:
2
CMakeLists.txt
Normal file → Executable file
2
CMakeLists.txt
Normal file → Executable 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()
|
||||
|
||||
Reference in New Issue
Block a user