Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
FreeCAD
FreeCAD
Commits
5eca1d92
Commit
5eca1d92
authored
Dec 22, 2012
by
wmayer
Browse files
Fix cmake build problem with debian
parent
b288826d
Changes
1
Hide whitespace changes
Inline
Side-by-side
CMakeLists.txt
View file @
5eca1d92
...
...
@@ -170,9 +170,14 @@ MARK_AS_ADVANCED(FORCE FREECAD_LIBPACK_CHECKFILE6X FREECAD_LIBPACK_CHECKFILE7X)
# -------------------------------- Python --------------------------------
#http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677598
set
(
Python_ADDITIONAL_VERSIONS
"2.3"
"2.4"
"2.5"
"2.6"
"2.7"
"2.8"
"2.9"
)
find_package
(
PythonLibs REQUIRED
)
find_package
(
PythonInterp REQUIRED
)
IF
(
NOT DEFINED PYTHON_VERSION_STRING
)
find_package
(
PythonLibs REQUIRED
)
ELSE
(
NOT DEFINED PYTHON_VERSION_STRING
)
find_package
(
PythonLibs
${
PYTHON_VERSION_STRING
}
EXACT
)
ENDIF
(
NOT DEFINED PYTHON_VERSION_STRING
)
IF
(
NOT PYTHONLIBS_FOUND
)
MESSAGE
(
"Python not found, install python!"
)
...
...
Write
Preview
Supports
Markdown
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