Browse Source

去除部分不需要的框架

master
Your Name 3 years ago
parent
commit
1b7365bcde
  1. 2
      CMakeLists.txt
  2. 3
      docker/Dockerfile.satellite
  3. 2
      modules/CMakeLists.txt

2
CMakeLists.txt

@ -44,7 +44,7 @@ add_compile_options(-Wall -std=c++11 -O2 -g)
link_directories(${PROJECT_SOURCE_DIR}/lib) link_directories(${PROJECT_SOURCE_DIR}/lib)
link_directories(/usr/local/lib) link_directories(/usr/local/lib)
list(APPEND ALL_LINKER_LIBS mk_api ZLToolKit dl ${3RDPARTY_LIBS} ${OpenCV_LIBS} pthread hv models) list(APPEND ALL_LINKER_LIBS ZLToolKit dl ${3RDPARTY_LIBS} ${OpenCV_LIBS} pthread models)
# #
add_executable(main ${DIR_SRCS}) add_executable(main ${DIR_SRCS})

3
docker/Dockerfile.satellite

@ -6,8 +6,7 @@ ARG with_satellite_code=yes
RUN apt-get update && \ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
cmake \ libmysqlclient-dev build-essential cmake make vim \
libmysqlclient-dev \
libssl-dev \ libssl-dev \
libgoogle-glog-dev \ libgoogle-glog-dev \
libsqlite3-dev \ libsqlite3-dev \

2
modules/CMakeLists.txt

@ -83,4 +83,4 @@ endforeach()
add_library(models SHARED ${srcs}) add_library(models SHARED ${srcs})
install(TARGETS models LIBRARY DESTINATION lib) install(TARGETS models LIBRARY DESTINATION lib)
target_link_libraries(models ${3RDPARTY_LIBS} rt dl pthread ZLToolKit hv ) target_link_libraries(models ${3RDPARTY_LIBS} rt dl pthread ZLToolKit )

Loading…
Cancel
Save