Skip to content

Commit

Permalink
modify codebase cmakelist
Browse files Browse the repository at this point in the history
  • Loading branch information
huayuan4396 committed Apr 26, 2023
1 parent 0f43de9 commit 3e732f6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion csrc/mmdeploy/codebase/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ endif ()

foreach (codebase IN LISTS CODEBASES)
message(STATUS "build codebase: ${codebase}")
add_subdirectory(${codebase})
if (codebase STREQUAL "mmpretrain")
set(subdir_name "mmcls")
else()
set(subdir_name ${codebase})
endif()
add_subdirectory(${subdir_name})
endforeach ()

0 comments on commit 3e732f6

Please sign in to comment.