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
86f95f4c
Commit
86f95f4c
authored
Apr 19, 2010
by
Christopher Bruns
Browse files
Default building of CUDA free energy plugin to "OFF" if cuda was not found.
parent
754e66dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
plugins/freeEnergy/CMakeLists.txt
plugins/freeEnergy/CMakeLists.txt
+5
-2
No files found.
plugins/freeEnergy/CMakeLists.txt
View file @
86f95f4c
...
@@ -153,8 +153,11 @@ TARGET_LINK_LIBRARIES( ${STATIC_FREE_ENERGY_TARGET} ${STATIC_TARGET} )
...
@@ -153,8 +153,11 @@ TARGET_LINK_LIBRARIES( ${STATIC_FREE_ENERGY_TARGET} ${STATIC_TARGET} )
ADD_SUBDIRECTORY
(
platforms/reference/tests
)
ADD_SUBDIRECTORY
(
platforms/reference/tests
)
# Which hardware platforms to build
# Which hardware platforms to build
IF
(
CUDA_FOUND
)
SET
(
OPENMM_BUILD_FREE_ENERGY_CUDA_LIB ON CACHE BOOL
"Build OpenMMFreeEnergyCuda library for Nvidia GPUs"
)
SET
(
OPENMM_BUILD_FREE_ENERGY_CUDA_LIB ON CACHE BOOL
"Build OpenMMFreeEnergyCuda library for Nvidia GPUs"
)
ELSE
(
CUDA_FOUND
)
SET
(
OPENMM_BUILD_FREE_ENERGY_CUDA_LIB OFF CACHE BOOL
"Build OpenMMFreeEnergyCuda library for Nvidia GPUs"
)
ENDIF
(
CUDA_FOUND
)
SET
(
OPENMM_BUILD_FREE_ENERGY_PATH
)
SET
(
OPENMM_BUILD_FREE_ENERGY_PATH
)
SET
(
OPENMM_BUILD_FREE_ENERGY_CUDA_PATH
)
SET
(
OPENMM_BUILD_FREE_ENERGY_CUDA_PATH
)
...
...
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