blob: ffc6a39a4f0080feb959d1545a6d0fff5690a537 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
--- CMakeLists.txt.orig 2024-09-13 05:26:00 UTC
+++ CMakeLists.txt
@@ -395,7 +395,7 @@ if(CIFPP_DOWNLOAD_CCD)
if(WIN32 OR GUNZIP STREQUAL "GUNZIP-NOTFOUND")
file(
- DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif
+ DOWNLOAD file://${DISTDIR_FULL}/components.cif.gz
${COMPONENTS_CIF}
SHOW_PROGRESS
STATUS CCD_FETCH_STATUS)
@@ -403,7 +403,7 @@ if(CIFPP_DOWNLOAD_CCD)
if(NOT EXISTS "${COMPONENTS_CIF}.gz")
file(
DOWNLOAD
- https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
+ file://${DISTDIR_FULL}/components.cif.gz
${COMPONENTS_CIF}.gz
SHOW_PROGRESS
STATUS CCD_FETCH_STATUS)
@@ -556,7 +556,7 @@ if(CIFPP_INSTALL_UPDATE_SCRIPT)
# a config file, to make it complete
# install(DIRECTORY DESTINATION "${CMAKE_INSTALL_LOCALSTATEDIR}/libcifpp")
- if(NOT EXISTS "${CMAKE_INSTALL_SYSCONFDIR}/libcifpp.conf")
+ if(TRUE OR NOT EXISTS "${CMAKE_INSTALL_SYSCONFDIR}/libcifpp.conf")
file(
WRITE ${CMAKE_CURRENT_BINARY_DIR}/libcifpp.conf
[[# Uncomment the next line to enable automatic updates
|