Skip to content

Commit

Permalink
use project name for package file name is package name might not be s…
Browse files Browse the repository at this point in the history
…et yet
  • Loading branch information
zerotacg committed Jul 8, 2024
1 parent cb9f21e commit 0543d25
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -515,8 +515,8 @@ SET(CPACK_NSIS_CONTACT "matt.raykowski@gmail.com")

## Source Packages
# remove os part of file name
SET(CPACK_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${CPACK_PACKAGE_NAME}-${CPACK_PACKAGE_VERSION}")
SET(CPACK_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
SET(CPACK_SOURCE_PACKAGE_FILE_NAME "${PROJECT_NAME}-${CPACK_PACKAGE_VERSION}")
IF(WIN32)
#SET(CPACK_GENERATOR "NSIS")
SET(CPACK_GENERATOR "NSIS;ZIP")
Expand Down
3 changes: 1 addition & 2 deletions cmake/CMakePresets.nel.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@
"WITH_STUDIO": false,
"WITH_TOOLS": false,
"WITH_QT5": true,
"WITH_LIBGSF": true,
"CPACK_PACKAGE_NAME": "nel"
"WITH_LIBGSF": true
}
},
{
Expand Down
1 change: 0 additions & 1 deletion snowballs2/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
"WITH_STUDIO": false,
"WITH_TOOLS": false,
"WITH_QT5": true,
"CPACK_PACKAGE_NAME": "snowballs",
"CMAKE_PREFIX_PATH": "${sourceDir}/build/install"
}
},
Expand Down

0 comments on commit 0543d25

Please sign in to comment.