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
36afd7e2
Unverified
Commit
36afd7e2
authored
Aug 31, 2021
by
Maarten L. Hekkelman
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'cmake' of github.com:PDB-REDO/dssp into cmake
parents
9c7f41ba
06eeaeab
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
CMakeLists.txt
+12
-1
No files found.
CMakeLists.txt
View file @
36afd7e2
...
...
@@ -26,6 +26,17 @@ if(MSVC)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
/W4"
)
endif
()
if
(
NOT $ENV{CCP4} STREQUAL
""
)
set
(
BUILD_SHARED_LIBS ON
)
set
(
CCP4 $ENV{CCP4}
)
list
(
PREPEND CMAKE_MODULE_PATH
"
${
CCP4
}
/Lib"
)
list
(
APPEND CMAKE_PREFIX_PATH
${
CCP4
}
)
if
(
CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT
)
set
(
CMAKE_PREFIX_PATH
${
CCP4
}
)
endif
()
endif
()
if
(
MSVC
)
# make msvc standards compliant...
add_compile_options
(
/permissive-
)
...
...
@@ -112,7 +123,7 @@ set(THREADS_PREFER_PTHREAD_FLAG)
find_package
(
Threads REQUIRED
)
set
(
Boost_DETAILED_FAILURE_MSG ON
)
find_package
(
Boost 1.7
1
.0 REQUIRED COMPONENTS program_options system iostreams regex date_time
)
find_package
(
Boost 1.7
0
.0 REQUIRED COMPONENTS program_options system iostreams regex date_time
)
# extra diagnostic -- helpful for problem with FindBoost.cmake
message
(
STATUS
"Boost headers in:
${
Boost_INCLUDE_DIR
}
"
)
message
(
STATUS
"Boost libraries in:
${
Boost_LIBRARY_DIRS
}
"
)
...
...
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