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
d502fc6f
Commit
d502fc6f
authored
Dec 20, 2014
by
Davis King
Browse files
Fixed finding of boost python
parent
aa2c718c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
dlib/add_python_module
dlib/add_python_module
+9
-6
No files found.
dlib/add_python_module
View file @
d502fc6f
...
@@ -20,10 +20,11 @@
...
@@ -20,10 +20,11 @@
# A list of various paths you need to search on windows since people install
# A list of various paths you need to search on windows since people install
# boost in a bunch of different places.
# boost in a bunch of different places.
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH}
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH}
"C:/local/boost_1_*"
"C:/local/boost_*"
"C:/Program Files (x86)/boost/boost_1_*"
"C:/Program Files (x86)/boost/boost_*"
"C:/Program Files/boost/boost_1_*")
"C:/Program Files/boost/boost_*")
set(BOOST_LIBRARYDIR "C:/local/boost_1_*/lib32-msvc-*")
set(BOOST_LIBRARYDIR ${BOOST_LIBRARYDIR} $ENV{BOOST_LIBRARYDIR}
"C:/local/boost_*/lib32-msvc-*")
...
@@ -32,8 +33,10 @@ set(BOOST_LIBRARYDIR "C:/local/boost_1_*/lib32-msvc-*")
...
@@ -32,8 +33,10 @@ set(BOOST_LIBRARYDIR "C:/local/boost_1_*/lib32-msvc-*")
#SET(Boost_USE_STATIC_RUNTIME OFF)
#SET(Boost_USE_STATIC_RUNTIME OFF)
set(Boost_NO_BOOST_CMAKE ON)
set(Boost_NO_BOOST_CMAKE ON)
if (NOT WIN32)
set(BOOST_LIBRARYDIR /usr/lib/x86_64-linux-gnu/)
set(BOOST_LIBRARYDIR ${BOOST_LIBRARYDIR} $ENV{BOOST_LIBRARYDIR}
/usr/lib/x86_64-linux-gnu/)
endif()
if (PYTHON3)
if (PYTHON3)
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python-py34 REQUIRED)
FIND_PACKAGE(Boost 1.41.0 COMPONENTS python-py34 REQUIRED)
FIND_PACKAGE(PythonLibs 3.4 REQUIRED)
FIND_PACKAGE(PythonLibs 3.4 REQUIRED)
...
...
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