Skip to content

[Bug]: cmake downloads the internet during build #1080

@dvzrv

Description

@dvzrv

What happened?

Hi! 👋

When trying to build 1.0.0 for Arch Linux, I noticed that cmake downloads the internet, if it doesn't find the exact JUCE version:

else()
FetchContent_Declare(juce
GIT_REPOSITORY https://github.com/juce-framework/JUCE.git
GIT_TAG ${ELEMENT_JUCE_VERSION}
GIT_SHALLOW ON)
FetchContent_Populate(juce)
add_subdirectory(${juce_SOURCE_DIR} ${juce_BINARY_DIR} EXCLUDE_FROM_ALL)
endif()

This is somewhat problematic, as Linux distributions usually want to build offline, after locking and retrieving specific source inputs.

Also: Would it be possible to not require a specific version, but a minimum or something like that?

Version

1.0.0 (Latest)

Relevant log output

n/a

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions