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
794ab9a7
Commit
794ab9a7
authored
Jun 28, 2013
by
peastman
Browse files
If FFTW is not found, default to not building the PME plugin.
parent
9e74c183
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
CMakeLists.txt
CMakeLists.txt
+6
-1
plugins/cpupme/CMakeLists.txt
plugins/cpupme/CMakeLists.txt
+0
-1
No files found.
CMakeLists.txt
View file @
794ab9a7
...
...
@@ -398,7 +398,12 @@ ENDIF(OPENMM_BUILD_DRUDE_PLUGIN)
# CPU PME plugin
SET
(
OPENMM_BUILD_PME_PLUGIN ON CACHE BOOL
"Build CPU PME plugin"
)
FIND_PACKAGE
(
FFTW QUIET
)
IF
(
FFTW_FOUND
)
SET
(
OPENMM_BUILD_PME_PLUGIN ON CACHE BOOL
"Build CPU PME plugin"
)
ELSE
(
FFTW_FOUND
)
SET
(
OPENMM_BUILD_PME_PLUGIN OFF CACHE BOOL
"Build CPU PME plugin"
)
ENDIF
(
FFTW_FOUND
)
SET
(
OPENMM_BUILD_PME_PATH
)
IF
(
OPENMM_BUILD_PME_PLUGIN
)
SET
(
OPENMM_BUILD_PME_PATH
${
CMAKE_CURRENT_SOURCE_DIR
}
/plugins/cpupme
)
...
...
plugins/cpupme/CMakeLists.txt
View file @
794ab9a7
...
...
@@ -75,7 +75,6 @@ SET_SOURCE_FILES_PROPERTIES(${SOURCE_FILES} PROPERTIES COMPILE_FLAGS "-msse4.1")
# Include FFTW related files.
INCLUDE
(
FindFFTW
)
INCLUDE_DIRECTORIES
(
${
FFTW_INCLUDES
}
)
# Build the plugin library.
...
...
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