File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 18
18
!ifndef MINGW_ROOT
19
19
!define MINGW_ROOT "/usr/i686-w64-mingw32/sys-root/mingw"
20
20
!endif
21
-
22
- !define APPLICATION_NAME "Tomahawk"
23
- !define TARGET_NAME "tomahawk"
21
+ !define APPLICATION_NAME "@CPACK_PACKAGE_NAME@"
22
+ !define TARGET_NAME "@CPACK_PACKAGE_TARGET_NAME@"
24
23
;define app id needed for Windows 8 notifications
25
- !define AppUserModelId @TOMAHAWK_APPLICATION_PACKAGE_NAME@
24
+ !define AppUserModelId " @TOMAHAWK_APPLICATION_PACKAGE_NAME@"
26
25
27
26
!define MINGW_BIN "${MINGW_ROOT}/bin"
28
27
!define MINGW_LIB "${MINGW_ROOT}/lib"
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ SET( CPACK_PACKAGE_DESCRIPTION_SUMMARY ${TOMAHAWK_DESCRIPTION_SUMMARY} ) # Des
13
13
SET ( CPACK_PACKAGE_INSTALL_DIRECTORY ${TOMAHAWK_APPLICATION_NAME} ) # Installation directory on the target system -> C:\Program Files\fellody
14
14
SET ( CPACK_PACKAGE_INSTALL_REGISTRY_KEY ${TOMAHAWK_APPLICATION_NAME} ) # Registry key used when installing this project CMake 2.5.0
15
15
SET ( CPACK_PACKAGE_NAME ${TOMAHAWK_APPLICATION_NAME} ) # Package name, defaults to the project name
16
+ SET ( CPACK_PACKAGE_TARGET_NAME ${TOMAHAWK_TARGET_NAME} ) # Used to build library and executable names
16
17
SET ( CPACK_PACKAGE_VENDOR ${TOMAHAWK_ORGANIZATION_NAME} ) # Package vendor name
18
+ SET ( TOMAHAWK_APPLICATION_PACKAGE_NAME ${TOMAHAWK_APPLICATION_PACKAGE_NAME} )
17
19
SET ( CPACK_PACKAGE_VERSION_MAJOR ${TOMAHAWK_VERSION_MAJOR} )
18
20
SET ( CPACK_PACKAGE_VERSION_MINOR ${TOMAHAWK_VERSION_MINOR} )
19
21
SET ( CPACK_PACKAGE_VERSION_PATCH ${TOMAHAWK_VERSION_PATCH} )
You can’t perform that action at this time.
0 commit comments