mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-12 14:10:34 +05:00
store downloaded dependencies in source tree to avoid repeating downloads after cleaning the build tree
This commit is contained in:
parent
9987116703
commit
ff8e405afb
@ -2,6 +2,8 @@ if(APPLE)
|
|||||||
set(HOME $ENV{HOME})
|
set(HOME $ENV{HOME})
|
||||||
ExternalProject_Add(tcl
|
ExternalProject_Add(tcl
|
||||||
URL "http://sourceforge.net/projects/tcl/files/Tcl/8.6.4/tcl8.6.4-src.tar.gz"
|
URL "http://sourceforge.net/projects/tcl/files/Tcl/8.6.4/tcl8.6.4-src.tar.gz"
|
||||||
|
URL_MD5 d7cbb91f1ded1919370a30edd1534304
|
||||||
|
DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external_dependencies
|
||||||
UPDATE_COMMAND "" # Disable update
|
UPDATE_COMMAND "" # Disable update
|
||||||
BUILD_IN_SOURCE 1
|
BUILD_IN_SOURCE 1
|
||||||
CONFIGURE_COMMAND ""
|
CONFIGURE_COMMAND ""
|
||||||
@ -15,6 +17,8 @@ if(APPLE)
|
|||||||
ExternalProject_Add(tk
|
ExternalProject_Add(tk
|
||||||
DEPENDS tcl
|
DEPENDS tcl
|
||||||
URL "http://sourceforge.net/projects/tcl/files/Tcl/8.6.4/tk8.6.4-src.tar.gz"
|
URL "http://sourceforge.net/projects/tcl/files/Tcl/8.6.4/tk8.6.4-src.tar.gz"
|
||||||
|
URL_MD5 261754d7dc2a582f00e35547777e1fea
|
||||||
|
DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external_dependencies
|
||||||
UPDATE_COMMAND "" # Disable update
|
UPDATE_COMMAND "" # Disable update
|
||||||
BUILD_IN_SOURCE 1
|
BUILD_IN_SOURCE 1
|
||||||
CONFIGURE_COMMAND ""
|
CONFIGURE_COMMAND ""
|
||||||
@ -28,6 +32,8 @@ if(APPLE)
|
|||||||
ExternalProject_Add(tkdnd
|
ExternalProject_Add(tkdnd
|
||||||
DEPENDS tcl tk
|
DEPENDS tcl tk
|
||||||
URL "http://sourceforge.net/projects/tkdnd/files/TkDND/TkDND%202.8/tkdnd2.8-src.tar.gz"
|
URL "http://sourceforge.net/projects/tkdnd/files/TkDND/TkDND%202.8/tkdnd2.8-src.tar.gz"
|
||||||
|
URL_MD5 a6d47a996ea957416469b12965d4db91
|
||||||
|
DOWNLOAD_DIR ${CMAKE_CURRENT_SOURCE_DIR}/external_dependencies
|
||||||
PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_LIST_DIR}/tkdnd_macosx.patch
|
PATCH_COMMAND patch -p1 < ${CMAKE_CURRENT_LIST_DIR}/tkdnd_macosx.patch
|
||||||
UPDATE_COMMAND "" # Disable update
|
UPDATE_COMMAND "" # Disable update
|
||||||
BUILD_IN_SOURCE 1
|
BUILD_IN_SOURCE 1
|
||||||
|
Loading…
Reference in New Issue
Block a user