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
ff7b413a
Unverified
Commit
ff7b413a
authored
Dec 05, 2023
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows gunzip workaround
parent
07224779
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
CMakeLists.txt
+2
-4
No files found.
CMakeLists.txt
View file @
ff7b413a
...
...
@@ -222,7 +222,6 @@ find_package(Eigen3 3.4 QUIET)
if
(
Eigen3_FOUND AND TARGET Eigen3::Eigen
)
get_target_property
(
EIGEN_INCLUDE_DIR Eigen3::Eigen INTERFACE_INCLUDE_DIRECTORIES
)
else
()
# Create a private copy of eigen3 and populate it only, no need to build
FetchContent_Declare
(
my-eigen3
...
...
@@ -386,6 +385,8 @@ if(CIFPP_DOWNLOAD_CCD)
add_custom_command
(
OUTPUT
${
COMPONENTS_CIF
}
COMMAND
${
GUNZIP
}
${
COMPONENTS_CIF
}
.gz
WORKING_DIRECTORY
${
PROJECT_SOURCE_DIR
}
/rsrc/
)
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
)
...
...
@@ -398,8 +399,6 @@ if(CIFPP_DOWNLOAD_CCD)
message
(
FATAL_ERROR
"Error trying to download CCD file:
${
CCD_FETCH_STATUS
}
"
)
endif
()
endif
()
add_custom_target
(
COMPONENTS ALL DEPENDS
${
COMPONENTS_CIF
}
)
endif
()
# Installation directories
...
...
@@ -518,7 +517,6 @@ write_basic_package_version_file(
)
if
(
BUILD_TESTING
)
# We're using the older version 2 of Catch2
FetchContent_Declare
(
Catch2
...
...
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