Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
libcifpp
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open
libcifpp
Commits
b14237e8
Unverified
Commit
b14237e8
authored
Dec 05, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Not nice
parent
df3263e4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
+4
-4
No files found.
CMakeLists.txt
View file @
b14237e8
...
@@ -376,7 +376,10 @@ if(CIFPP_DOWNLOAD_CCD)
...
@@ -376,7 +376,10 @@ if(CIFPP_DOWNLOAD_CCD)
# decompress it ourselves.
# decompress it ourselves.
find_program
(
GUNZIP gunzip
)
find_program
(
GUNZIP gunzip
)
if
(
NOT GUNZIP STREQUAL
"GUNZIP-NOTFOUND"
)
if
(
WIN32 OR GUNZIP STREQUAL
"GUNZIP-NOTFOUND"
)
file
(
DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif
${
COMPONENTS_CIF
}
SHOW_PROGRESS STATUS CCD_FETCH_STATUS
)
else
()
if
(
NOT EXISTS
"
${
COMPONENTS_CIF
}
.gz"
)
if
(
NOT EXISTS
"
${
COMPONENTS_CIF
}
.gz"
)
file
(
DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
${
COMPONENTS_CIF
}
.gz
file
(
DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif.gz
${
COMPONENTS_CIF
}
.gz
SHOW_PROGRESS STATUS CCD_FETCH_STATUS
)
SHOW_PROGRESS STATUS CCD_FETCH_STATUS
)
...
@@ -387,9 +390,6 @@ if(CIFPP_DOWNLOAD_CCD)
...
@@ -387,9 +390,6 @@ if(CIFPP_DOWNLOAD_CCD)
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/rsrc/
)
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/rsrc/
)
add_custom_target
(
COMPONENTS ALL DEPENDS
${
COMPONENTS_CIF
}
)
add_custom_target
(
COMPONENTS ALL DEPENDS
${
COMPONENTS_CIF
}
)
else
()
file
(
DOWNLOAD https://files.wwpdb.org/pub/pdb/data/monomers/components.cif
${
COMPONENTS_CIF
}
SHOW_PROGRESS STATUS CCD_FETCH_STATUS
)
endif
()
endif
()
# Do not continue if downloading went wrong
# Do not continue if downloading went wrong
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment