Skip to content

Commit

Permalink
debian/rules: don't install Development
Browse files Browse the repository at this point in the history
  • Loading branch information
KangLin committed Mar 20, 2024
1 parent ec7f06b commit 1eb0501
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ PACKAGE_DIR = "debian/facerecognizer"
override_dh_auto_configure:
dh_auto_configure -B$(BUILD_DIR) -- \
-DCMAKE_BUILD_TYPE=Release \
-DCMARK_SHARED=OFF \
-DCMARK_TESTS=OFF \
-DCMARK_STATIC=ON \
-DENABLE_DOWNLOAD_MODUEL=${ENABLE_DOWNLOAD_MODULE} \
${PARAS}

Expand All @@ -76,6 +79,13 @@ override_dh_auto_build:

override_dh_auto_install:
cmake --install $(BUILD_DIR) --config Release \
--component Runtime \
--prefix $(PACKAGE_DIR)/opt/FaceRecognizer
cmake --install $(BUILD_DIR) --config Release \
--component Application \
--prefix $(PACKAGE_DIR)/opt/FaceRecognizer
cmake --install $(BUILD_DIR) --config Release \
--component Plugin \
--prefix $(PACKAGE_DIR)/opt/FaceRecognizer

override_dh_shlibdeps:
Expand Down

0 comments on commit 1eb0501

Please sign in to comment.