Skip to content

Commit

Permalink
disable destdir cpack mode to be able to control install prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
zerotacg committed Aug 30, 2024
1 parent 6aab469 commit 29c7b8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,6 @@ IF(WIN32)
SET(CPACK_GENERATOR "NSIS;ZIP")
SET(CPACK_SOURCE_GENERATOR "ZIP")
ELSE()
SET(CPACK_SET_DESTDIR TRUE)
SET(CPACK_GENERATOR "TGZ;STGZ")
SET(CPACK_SOURCE_GENERATOR "TGZ")
ENDIF()
Expand Down
3 changes: 2 additions & 1 deletion nel/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@
],
"configurePresets": [
{
"binaryDir": "${sourceDir}/build/nel",
"name": "nel",
"binaryDir": "${sourceDir}/build/nel",
"installDir": "${sourceDir}/build/install",
"cacheVariables": {
"WITH_STATIC": true,
"WITH_NEL": true,
Expand Down

0 comments on commit 29c7b8e

Please sign in to comment.