File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ set(CPACK_DEB_COMPONENT_INSTALL OFF)
7272set (CPACK_DEBIAN_PACKAGE_MAINTAINER "array2d" )
7373set (CPACK_DEBIAN_PACKAGE_SECTION "libdevel" )
7474set (CPACK_DEBIAN_PACKAGE_PRIORITY "optional" )
75- set (CPACK_DEBIAN_PACKAGE_DEPENDS "libgeos-dev" )
75+ # No hard Depends — shapelycpp is header-only; GEOS is only needed when
76+ # compiling tests or downstream projects that use GEOS features.
7677set (CPACK_DEBIAN_FILE_NAME "shapelycpp-dev-${CPACK_PACKAGE_VERSION} -Linux.deb" )
7778set (CPACK_PACKAGING_INSTALL_PREFIX "/usr" )
7879
@@ -93,4 +94,4 @@ endif()
9394message (STATUS "shapelycpp v${PROJECT_VERSION } (header-only C++ library)" )
9495message (STATUS " C++ Standard: ${CMAKE_CXX_STANDARD } " )
9596message (STATUS " DEB: make deb → shapelycpp-dev-${CPACK_PACKAGE_VERSION} -Linux.deb" )
96- message (STATUS " Install: sudo apt-get install -y libgeos-dev" )
97+ message (STATUS " GEOS (optional): install geos-local or libgeos-dev if downstream code links GEOS " )
You can’t perform that action at this time.
0 commit comments