Skip to content

Commit

Permalink
ci: fix some error
Browse files Browse the repository at this point in the history
  • Loading branch information
neko-para committed Oct 11, 2023
1 parent 7d45a7a commit fbc459b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ add_subdirectory(MaaUtils)
add_subdirectory(MaaControlUnit)
if(WITH_THRIFT AND NOT MAA_CROSSCOMPILE)
add_subdirectory(MaaThriftController)
endif(WITH_THRIFT)
endif(WITH_THRIFT AND NOT MAA_CROSSCOMPILE)
if(WITH_GRPC)
add_subdirectory(MaaRpc)
endif(WITH_GRPC)
Expand Down
4 changes: 2 additions & 2 deletions source/MaaFramework/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ target_link_libraries(MaaFramework ${OpenCV_LIBS} fastdeploy_ppocr ONNXRuntime::
# target_link_libraries(MaaFramework range-v3::range-v3) endif ()

add_dependencies(MaaFramework MaaControlUnit MaaUtils)
if(WITH_THRIFT)
if(WITH_THRIFT AND NOT MAA_CROSSCOMPILE)
add_dependencies(MaaFramework MaaThriftController)
endif(WITH_THRIFT)
endif(WITH_THRIFT AND NOT MAA_CROSSCOMPILE)

install(
TARGETS MaaFramework
Expand Down

0 comments on commit fbc459b

Please sign in to comment.