Skip to content

Commit

Permalink
chore(cmake): honor CMAKE_BUILD_TYPE when building cares.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <[email protected]>
  • Loading branch information
FedeDP authored and poiana committed Mar 12, 2025
1 parent 028dd4c commit c67fadc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmake/modules/cares.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ else()
-DCARES_STATIC_PIC=${ENABLE_PIC}
-DCARES_BUILD_TOOLS=Off
-DCARES_INSTALL=Off
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
BUILD_BYPRODUCTS ${CARES_INCLUDE} ${CARES_LIB}
INSTALL_COMMAND ""
)
Expand Down

0 comments on commit c67fadc

Please sign in to comment.