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
14b65c10
Commit
14b65c10
authored
Jun 29, 2016
by
peastman
Browse files
Fixed code that checks SWIG version
parent
54788ac1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
wrappers/python/CMakeLists.txt
wrappers/python/CMakeLists.txt
+3
-4
No files found.
wrappers/python/CMakeLists.txt
View file @
14b65c10
...
@@ -108,10 +108,9 @@ else(SWIG_EXECUTABLE)
...
@@ -108,10 +108,9 @@ else(SWIG_EXECUTABLE)
set
(
SWIG_VERSION
"0.0.0"
CACHE STRING
"Swig version"
FORCE
)
set
(
SWIG_VERSION
"0.0.0"
CACHE STRING
"Swig version"
FORCE
)
endif
(
SWIG_EXECUTABLE
)
endif
(
SWIG_EXECUTABLE
)
# Enforce swig version
# Enforce swig version
string
(
COMPARE LESS
"
${
SWIG_VERSION
}
"
"3.0.5"
SWIG_VERSION_ERROR
)
if
(
SWIG_VERSION VERSION_LESS
"3.0.5"
)
if
(
SWIG_VERSION_ERROR
)
message
(
SEND_ERROR
"Swig version must be 3.0.5 or greater! (You have
${
SWIG_VERSION
}
)"
)
message
(
"Swig version must be 3.0.5 or greater! (You have
${
SWIG_VERSION
}
)"
)
endif
(
SWIG_VERSION VERSION_LESS
"3.0.5"
)
endif
(
SWIG_VERSION_ERROR
)
find_package
(
Doxygen REQUIRED
)
find_package
(
Doxygen REQUIRED
)
mark_as_advanced
(
CLEAR DOXYGEN_EXECUTABLE
)
mark_as_advanced
(
CLEAR DOXYGEN_EXECUTABLE
)
...
...
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