mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 10:33:52 +01:00
Problem: Changes in Catch2 causes errors
Solution: Use a fixed commit instead of a branch
This commit is contained in:
parent
03243ad64d
commit
0f9e4c12d0
@ -17,11 +17,11 @@ set(CATCH_MODULE_PATH ${DOWNLOAD_DIR} CACHE INTERNAL "Path to include catch")
|
||||
|
||||
# Download module for CTest integration
|
||||
if(NOT EXISTS "${CATCH_MODULE_PATH}/Catch.cmake")
|
||||
file(DOWNLOAD "https://raw.githubusercontent.com/catchorg/Catch2/master/contrib/Catch.cmake"
|
||||
file(DOWNLOAD "https://raw.githubusercontent.com/catchorg/Catch2/90e2549cecc2e886d563b7a88e752c9b4104f798/contrib/Catch.cmake"
|
||||
"${CATCH_MODULE_PATH}/Catch.cmake")
|
||||
endif()
|
||||
if(NOT EXISTS "${CATCH_MODULE_PATH}/CatchAddTests.cmake")
|
||||
file(DOWNLOAD "https://raw.githubusercontent.com/catchorg/Catch2/master/contrib/CatchAddTests.cmake"
|
||||
file(DOWNLOAD "https://raw.githubusercontent.com/catchorg/Catch2/90e2549cecc2e886d563b7a88e752c9b4104f798/contrib/CatchAddTests.cmake"
|
||||
"${CATCH_MODULE_PATH}/CatchAddTests.cmake")
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user