Skip to content

Commit

Permalink
Set windows package install directory to "Displaz"
Browse files Browse the repository at this point in the history
This seems a bit more in keeping with other windows installers, and has
the side effect of fixing the automatic uninstall step in the future, to
automatically uninstall older versions of displaz (see also
CPACK_PACKAGE_INSTALL_REGISTRY_KEY).
  • Loading branch information
c42f committed May 24, 2017
1 parent 3dcabc3 commit c9af290
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A viewer for geospatial lidar data")
set(CPACK_PACKAGE_DESCRIPTION_FILE "${PROJECT_SOURCE_DIR}/README.rst")
set(CPACK_RESOURCE_FILE_README "${PROJECT_SOURCE_DIR}/README.rst")
set(CPACK_RESOURCE_FILE_LICENSE "${PROJECT_SOURCE_DIR}/LICENSE.txt")
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Displaz")
if (WIN32)
# Some paths need at at least one backslash to workaround NSIS bug
set(CPACK_PACKAGE_ICON "${CMAKE_SOURCE_DIR}/package\\\\displaz.ico")
Expand Down

0 comments on commit c9af290

Please sign in to comment.