Skip to content

Commit

Permalink
[cmake] remove old STRIP cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Jun 12, 2021
1 parent 2b56b88 commit d0d12d7
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmake/GetLibInfo.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@ endif()

# use URL to get repo owner as Contact/Maintainer name
string(REGEX REPLACE "^http[s]?:\/\/github\\.com\/(.+)\/.+$" "\\1" CPACK_PACKAGE_CONTACT "${CMAKE_PROJECT_HOMEPAGE_URL}")
# string(STRIP "${CPACK_PACKAGE_CONTACT}" CPACK_PACKAGE_CONTACT)

# use URL to get the repo name as the Lib Name. Note that we don't use the folder name for this
string(REGEX REPLACE "^http[s]?:\/\/github\\.com\/.+\/(.+)$" "\\1" LibName "${CMAKE_PROJECT_HOMEPAGE_URL}")
# string(STRIP "${LibName}" LibName)

# convert the LibName to lower case
string(TOLOWER ${LibName} LibTargetName)
Expand Down

0 comments on commit d0d12d7

Please # to comment.