Skip to content

Commit

Permalink
Change fetch url to github permalink plus ?raw=true, -L added for cur…
Browse files Browse the repository at this point in the history
…l to follow redirects necessary to retrieve desired final object
  • Loading branch information
dhoke4tdb committed Jun 9, 2021
1 parent 73ecb04 commit 2dff4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Modules/FindBzip2_EP.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ if (NOT BZIP2_FOUND)
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${TILEDB_EP_INSTALL_PREFIX}
UPDATE_COMMAND ""
PATCH_COMMAND
curl https://raw.githubusercontent.com/TileDB-Inc/bzip2-windows/master/bzip2-1.0.6/CMakeLists.txt -o ${CMAKE_CURRENT_BINARY_DIR}/externals/src/ep_bzip2/CMakeLists.txt
curl -L https://github.com/TileDB-Inc/bzip2-windows/blob/6aba012dd7503c6f61a70ff05395aff3d5d864ab/bzip2-1.0.8/CMakeLists.txt?raw=true -o ${CMAKE_CURRENT_BINARY_DIR}/externals/src/ep_bzip2/CMakeLists.txt
LOG_DOWNLOAD TRUE
LOG_CONFIGURE TRUE
LOG_BUILD TRUE
Expand Down

1 comment on commit 2dff4b9

@Shelnutt2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@d-hoke you can store the cmake file in cmake/inputs/patches. We put other local patches there to keep them in the repo.

Please sign in to comment.