Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
dssp
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
dssp
Commits
34fff806
Unverified
Commit
34fff806
authored
Oct 07, 2024
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
better support for resource less building
parent
f30c6fa2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
CMakeLists.txt
+18
-0
No files found.
CMakeLists.txt
View file @
34fff806
...
@@ -115,6 +115,8 @@ if(NOT (libmcfp_FOUND OR TARGET libmcfp))
...
@@ -115,6 +115,8 @@ if(NOT (libmcfp_FOUND OR TARGET libmcfp))
endif
()
endif
()
if
(
NOT TARGET cifpp AND NOT cifpp_FOUND
)
if
(
NOT TARGET cifpp AND NOT cifpp_FOUND
)
include
(
FetchContent
)
find_package
(
cifpp 7 QUIET
)
find_package
(
cifpp 7 QUIET
)
if
(
NOT cifpp_FOUND
)
if
(
NOT cifpp_FOUND
)
...
@@ -149,6 +151,22 @@ install(TARGETS ${PROJECT_NAME}
...
@@ -149,6 +151,22 @@ install(TARGETS ${PROJECT_NAME}
RUNTIME DESTINATION bin
RUNTIME DESTINATION bin
)
)
if
(
NOT USE_RSRC
)
# When building cifpp ourselves, we need to find where libcifpp
# expects the data files to be located.
if
(
TARGET cifpp
)
get_target_property
(
DSSP_DATA_DIR cifpp CIFPP_DATA_DIR
)
install
(
FILES
${
CIFPP_SHARE_DIR
}
/mmcif_pdbx.dic
${
CIFPP_SHARE_DIR
}
/mmcif_ddl.dic
${
CMAKE_CURRENT_SOURCE_DIR
}
/libdssp/mmcif_pdbx/dssp-extension.dic
DESTINATION
${
DSSP_DATA_DIR
}
)
else
()
endif
()
endif
()
if
(
BUILD_DOCUMENTATION
)
if
(
BUILD_DOCUMENTATION
)
add_subdirectory
(
doc
)
add_subdirectory
(
doc
)
endif
()
endif
()
...
...
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