View: Moved in list_row_item_owners
[pulseview.git] / CMake / writepackageversion.cmake
1 # Include a version file in source packages, so that the version derived
2 # from the git repository becomes available for builds from source tarballs.
3
4 if(NOT CPACK_INSTALL_CMAKE_PROJECTS)
5         file(WRITE "${CPACK_TEMPORARY_DIRECTORY}/VERSION"
6                 "${CPACK_SOURCE_PACKAGE_FILE_NAME}")
7 endif()