Skip to content

Commit

Permalink
Update cmake/cpack_install.cmake.in
Browse files Browse the repository at this point in the history
  • Loading branch information
eseiler authored Nov 11, 2024
1 parent 5998f04 commit 428e67e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/cpack_install.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Only if creating the source package (`make package_source`).
if (CPACK_SOURCE_INSTALLED_DIRECTORIES)
file (COPY "@CPM_SOURCE_CACHE@" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}" PATTERN ".git" EXCLUDE PATTERN "cpm" EXCLUDE PATTERN "use_ccache" EXCLUDE)
file (COPY "@CPM_SOURCE_CACHE@" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}" PATTERN ".git" EXCLUDE PATTERN "use_ccache" EXCLUDE)
if (EXISTS "@CPM_DOWNLOAD_LOCATION@")
file (READ "@CPM_DOWNLOAD_LOCATION@" FILE_CONTENTS)
string (REPLACE "find_package(Git REQUIRED)" "return()" FILE_CONTENTS "${FILE_CONTENTS}")
Expand Down

0 comments on commit 428e67e

Please sign in to comment.