mirror of
https://github.com/zeromq/cppzmq.git
synced 2024-12-12 18:40:28 +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
|
# Download module for CTest integration
|
||||||
if(NOT EXISTS "${CATCH_MODULE_PATH}/Catch.cmake")
|
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")
|
"${CATCH_MODULE_PATH}/Catch.cmake")
|
||||||
endif()
|
endif()
|
||||||
if(NOT EXISTS "${CATCH_MODULE_PATH}/CatchAddTests.cmake")
|
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")
|
"${CATCH_MODULE_PATH}/CatchAddTests.cmake")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user