use git to download libbgcode by default

should work on the build server
This commit is contained in:
tamasmeszaros 2023-07-29 15:45:29 +02:00
parent d9f0c1a052
commit 6d3d3298da

View File

@ -1,6 +1,6 @@
set(LibBGCode_SOURCE_DIR "" CACHE PATH "Optionally specify local LibBGCode source directory") set(LibBGCode_SOURCE_DIR "" CACHE PATH "Optionally specify local LibBGCode source directory")
set(_source_dir_line "URL;https://github.com/prusa3d/libbgcode/archive/refs/heads/main.zip") set(_source_dir_line "GIT_REPOSITORY;git@github.com:prusa3d/libbgcode.git;GIT_TAG;main")
if (LibBGCode_SOURCE_DIR) if (LibBGCode_SOURCE_DIR)
set(_source_dir_line "SOURCE_DIR;${LibBGCode_SOURCE_DIR};BUILD_ALWAYS;ON") set(_source_dir_line "SOURCE_DIR;${LibBGCode_SOURCE_DIR};BUILD_ALWAYS;ON")