Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
4bbfe512
You need to sign in or sign up before continuing.
Commit
4bbfe512
authored
Mar 07, 2015
by
Davis King
Browse files
Made the PYTHON3 cmake switch a proper cmake option.
parent
ac07cffa
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
7 deletions
+1
-7
dlib/add_python_module
dlib/add_python_module
+1
-3
tools/python/CMakeLists.txt
tools/python/CMakeLists.txt
+0
-4
No files found.
dlib/add_python_module
View file @
4bbfe512
...
@@ -11,11 +11,9 @@
...
@@ -11,11 +11,9 @@
# python module to that folder when you run "make install". Note that the path
# python module to that folder when you run "make install". Note that the path
# given to install_*_to() is relative to your CMakeLists.txt file.
# given to install_*_to() is relative to your CMakeLists.txt file.
#
#
# Also note that if you set the cmake variable PYTHON3 equal to any non-zero
# value then we will try and produce a Python 3 compatible library, otherwise
# we will make a Pyhton 2 library.
option(PYTHON3 "Build a Python3 compatible library rather than Python2." OFF)
#SET(Boost_USE_STATIC_LIBS OFF)
#SET(Boost_USE_STATIC_LIBS OFF)
...
...
tools/python/CMakeLists.txt
View file @
4bbfe512
...
@@ -2,10 +2,6 @@
...
@@ -2,10 +2,6 @@
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.4
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.4
)
# Uncomment this to make a Python 3 compatible library instead of a Python 2
# library.
#set(PYTHON3 true)
include
(
../../dlib/add_python_module
)
include
(
../../dlib/add_python_module
)
# Tell cmake to compile all these cpp files into a dlib python module.
# Tell cmake to compile all these cpp files into a dlib python module.
...
...
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