feature use specify GIT_REPOSITORY for anltr4
Some checks failed
build-crpc / build (Debug, host.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, host.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-xi686.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, mingw-w64-xi686.toolchain.cmake) (push) Has been cancelled
Some checks failed
build-crpc / build (Debug, host.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, host.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-x86_64.toolchain.cmake) (push) Waiting to run
build-crpc / build (Release, mingw-w64-xi686.toolchain.cmake) (push) Waiting to run
build-crpc / build (Debug, mingw-w64-xi686.toolchain.cmake) (push) Has been cancelled
This commit is contained in:
parent
4607c32705
commit
daa3e0d059
@ -8,7 +8,9 @@ include(ExternalProject)
|
|||||||
|
|
||||||
set(ANTLR4_ROOT ${CMAKE_CURRENT_BINARY_DIR}/antlr4_runtime/src/antlr4_runtime)
|
set(ANTLR4_ROOT ${CMAKE_CURRENT_BINARY_DIR}/antlr4_runtime/src/antlr4_runtime)
|
||||||
set(ANTLR4_INCLUDE_DIRS ${ANTLR4_ROOT}/runtime/Cpp/runtime/src)
|
set(ANTLR4_INCLUDE_DIRS ${ANTLR4_ROOT}/runtime/Cpp/runtime/src)
|
||||||
|
if (NOT DEFINED ANTLR4_GIT_REPOSITORY)
|
||||||
set(ANTLR4_GIT_REPOSITORY https://github.com/antlr/antlr4.git)
|
set(ANTLR4_GIT_REPOSITORY https://github.com/antlr/antlr4.git)
|
||||||
|
endif()
|
||||||
if(NOT DEFINED ANTLR4_TAG)
|
if(NOT DEFINED ANTLR4_TAG)
|
||||||
# Set to branch name to keep library updated at the cost of needing to rebuild after 'clean'
|
# Set to branch name to keep library updated at the cost of needing to rebuild after 'clean'
|
||||||
# Set to commit hash to keep the build stable and does not need to rebuild after 'clean'
|
# Set to commit hash to keep the build stable and does not need to rebuild after 'clean'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user