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) @@ -44,7 +44,7 @@ add_compile_options(-Wall -std=c++11 -O2 -g)
link_directories(${PROJECT_SOURCE_DIR}/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})

3
docker/Dockerfile.satellite

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

2
modules/CMakeLists.txt

@ -83,4 +83,4 @@ endforeach() @@ -83,4 +83,4 @@ endforeach()
add_library(models SHARED ${srcs})
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