Skip to content

Commit 48f68d5

Browse files
authored
Update CMakeLists.txt
1 parent ca08327 commit 48f68d5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ target_link_libraries(${PROJECT_NAME}_static PUBLIC ${APP_LINK_LIB})
147147
target_compile_options(${PROJECT_NAME}_static PUBLIC ${APP_BUILD_OPTIONS})
148148
target_include_directories(${PROJECT_NAME}_static PUBLIC include)
149149

150+
#Remove -g flag for NDK cc
151+
string(REPLACE "-g " "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
150152
if (BUILD_CLI)
151153
include(FetchContent)
152154
FetchContent_Declare(clipp GIT_REPOSITORY https://github.com/muellan/clipp.git

0 commit comments

Comments
 (0)