summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Klotz <uklotz@mixxx.org>2021-04-17 12:51:55 +0200
committerGitHub <noreply@github.com>2021-04-17 12:51:55 +0200
commitd0a8e026756df8fc505bad3c72335273d46be569 (patch)
tree86e7c3c543a562dd5d2f28bf0957dd2a377764e2
parentea437520617818b4784fae78be091e21e11997f2 (diff)
CMake: Add comments why we need URL downloads of external projects (#3779)
CMake: Add comments why we need URL downloads of external projects https://github.com/mixxxdj/mixxx/pull/3779
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 20df0db02c..c368e69665 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1722,6 +1722,8 @@ if(ENGINEPRIME)
set(DJINTEROP_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/lib/libdjinterop-install")
set(DJINTEROP_LIBRARY "lib/${CMAKE_STATIC_LIBRARY_PREFIX}djinterop${CMAKE_STATIC_LIBRARY_SUFFIX}")
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/download")
+ # External project sources must be downloaded as an archive into DOWNLOAD_DIR
+ # from an URL to keep offline builds like for Fedora/RPM Fusion working!
ExternalProject_Add(libdjinterop
URL "https://github.com/xsco/libdjinterop/archive/0.15.1.tar.gz"
URL_HASH SHA256=87b3e6c726c208333d55b7e7e3af0a7230c9ad9edb3ca0ca81feffe17b3fc008
@@ -1829,6 +1831,8 @@ if(KEYFINDER)
set(KeyFinder_INSTALL_DIR "${CMAKE_CURRENT_BINARY_DIR}/lib/keyfinder-install")
set(KeyFinder_LIBRARY "${CMAKE_INSTALL_LIBDIR}/${CMAKE_STATIC_LIBRARY_PREFIX}keyfinder${CMAKE_STATIC_LIBRARY_SUFFIX}")
file(MAKE_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/download")
+ # External project sources must be downloaded as an archive into DOWNLOAD_DIR
+ # from an URL to keep offline builds like for Fedora/RPM Fusion working!
ExternalProject_Add(libkeyfinder
URL "https://github.com/mixxxdj/libkeyfinder/archive/v2.2.4.zip"
URL_HASH SHA256=cb3fea8c7213257281b6c7006b2430809f466ad8a1d485663324378d6fc0782c