1# support creating some basic binpkgs via `make package`
2
3set(CPACK_SET_DESTDIR ON)
4set(CPACK_GENERATOR TGZ)
5
6set(CPACK_PACKAGE_VERSION_MAJOR ${LIBIIO_VERSION_MAJOR})
7set(CPACK_PACKAGE_VERSION_MINOR ${LIBIIO_VERSION_MINOR})
8set(CPACK_PACKAGE_VERSION_PATCH g${LIBIIO_VERSION_GIT})
9set(CPACK_BUNDLE_NAME libiio)
10set(CPACK_PACKAGE_VERSION ${LIBIIO_VERSION})
11
12include(CPack)
13