More warnings \o/

This commit is contained in:
sz 2023-01-29 18:27:55 -06:00
parent 3479d39b89
commit 92a33ef444
No known key found for this signature in database
GPG Key ID: 056CD84A187C0C44
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ add_definitions("-DLIBCIMBAR_PROJECT_ROOT=\"${libcimbar_SOURCE_DIR}\"")
if("${CMAKE_BUILD_TYPE}" STREQUAL "")
set(CMAKE_BUILD_TYPE "RelWithDebInfo")
set(CMAKE_C_FLAGS "${CFLAGS} -Wall -std=c99 -Os -fPIC")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Wall -g -O2 -fPIC")
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-Wall -Wextra -g -O2 -fPIC")
endif()
if(DEFINED USE_WASM) # wasm build needs OPENCV_DIR defined