Diff of /CMakeLists.txt [a32c83] .. [c967f8]  Maximize  Restore

Switch to unified view

a/CMakeLists.txt b/CMakeLists.txt
...
...
426
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Library for manipulating panoramic images")
426
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Library for manipulating panoramic images")
427
set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1)
427
set(CPACK_COMPONENTS_ALL_IN_ONE_PACKAGE 1)
428
#set(CPACK_COMPONENTS_ALL libraries tools headers doc)
428
#set(CPACK_COMPONENTS_ALL libraries tools headers doc)
429
429
430
find_package(GnuTar QUIET)
430
find_package(GnuTar QUIET)
431
if(GnuTar_FOUND)
431
if(GNUTAR_FOUND)
432
  #message(STATUS "GnuTar_VERSION_STRING = ${GnuTar_VERSION_STRING}")
432
  #message(STATUS "GNUTAR_VERSION_STRING = ${GNUTAR_VERSION_STRING}")
433
  add_custom_target(dist
433
  add_custom_target(dist
434
    COMMAND ${GnuTar_EXECUTABLE} -c -C "${CMAKE_CURRENT_SOURCE_DIR}"
434
    COMMAND ${GNUTAR_EXECUTABLE} -c -C "${CMAKE_CURRENT_SOURCE_DIR}"
435
      --file "${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar"
435
      --file "${CPACK_SOURCE_PACKAGE_FILE_NAME}.tar"
436
      --transform 's/^\\./${CPACK_SOURCE_PACKAGE_FILE_NAME}/'
436
      --transform 's/^\\./${CPACK_SOURCE_PACKAGE_FILE_NAME}/'
437
      --owner=root
437
      --owner=root
438
      --group=root
438
      --group=root
439
      --numeric-owner
439
      --numeric-owner