Skip to content

Commit

Permalink
feat: pass CMAKE_BUILD_TYPE into DIOPI (#428)
Browse files Browse the repository at this point in the history
  • Loading branch information
wiryls authored Nov 28, 2023
1 parent 40b0b8c commit a895307
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dipu/third_party/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ if (WITH_DIOPI_LIBRARY STREQUAL "INTERNAL")
# note: as CMAKE_ARGS is a list, do not add quotes to arg values (such as "${DIOPI_IMPL_OPT}").
"-DIMPL_OPT=${DIOPI_IMPL_OPT}"
"-DENABLE_COVERAGE=${USE_COVERAGE}"
"-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}"
"-DCMAKE_PREFIX_PATH=${DIOPI_CMAKE_PREFIX_PATH}"
"-DCMAKE_EXPORT_COMPILE_COMMANDS=${CMAKE_EXPORT_COMPILE_COMMANDS}"
BUILD_BYPRODUCTS "${DIOPI_LIBRARY_PATH}/libdiopi_impl.so"
Expand Down

0 comments on commit a895307

Please sign in to comment.