Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
a42431fd
Commit
a42431fd
authored
Jun 28, 2012
by
Peter Eastman
Browse files
Default to not building RPMD-OpenCL if OpenCL could not be found
parent
1afb079f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
plugins/rpmd/CMakeLists.txt
plugins/rpmd/CMakeLists.txt
+5
-1
No files found.
plugins/rpmd/CMakeLists.txt
View file @
a42431fd
...
@@ -161,7 +161,11 @@ ADD_SUBDIRECTORY(platforms/reference/tests)
...
@@ -161,7 +161,11 @@ ADD_SUBDIRECTORY(platforms/reference/tests)
# SET(OPENMM_RPMD_CUDA_SOURCE_SUBDIRS . openmmapi olla platforms/cuda)
# SET(OPENMM_RPMD_CUDA_SOURCE_SUBDIRS . openmmapi olla platforms/cuda)
#ENDIF(OPENMM_BUILD_RPMD_CUDA_LIB)
#ENDIF(OPENMM_BUILD_RPMD_CUDA_LIB)
SET
(
OPENMM_BUILD_RPMD_OPENCL_LIB ON CACHE BOOL
"Build RPMD implementation for OpenCL"
)
IF
(
OPENCL_FOUND
)
SET
(
OPENMM_BUILD_RPMD_OPENCL_LIB ON CACHE BOOL
"Build RPMD implementation for OpenCL"
)
ELSE
(
OPENCL_FOUND
)
SET
(
OPENMM_BUILD_RPMD_OPENCL_LIB OFF CACHE BOOL
"Build RPMD implementation for OpenCL"
)
ENDIF
(
OPENCL_FOUND
)
IF
(
OPENMM_BUILD_RPMD_OPENCL_LIB
)
IF
(
OPENMM_BUILD_RPMD_OPENCL_LIB
)
ADD_SUBDIRECTORY
(
platforms/opencl
)
ADD_SUBDIRECTORY
(
platforms/opencl
)
ENDIF
(
OPENMM_BUILD_RPMD_OPENCL_LIB
)
ENDIF
(
OPENMM_BUILD_RPMD_OPENCL_LIB
)
...
...
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