Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
ea2fbcab
Commit
ea2fbcab
authored
Jul 07, 2018
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable LTO since it basically just makes the build process slow.
parent
e248cc8f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
CMakeLists.txt
tools/python/CMakeLists.txt
+5
-4
No files found.
tools/python/CMakeLists.txt
View file @
ea2fbcab
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.12
)
CMAKE_MINIMUM_REQUIRED
(
VERSION 2.8.12
)
# Set this to disable link time optimization. The only reason for
# Pybind11's cmake scripts enable link time optimization by default. However,
# doing this to make the compile faster which is nice when developing
# it makes linking take a really long time and doesn't seem to substantively
# new modules.
# improve runtime performance. So we disable LTO here to make building dlib
# set(PYBIND11_LTO_CXX_FLAGS "")
# faster.
set
(
PYBIND11_LTO_CXX_FLAGS
""
)
# Avoid cmake warnings about changes in behavior of some Mac OS X path
# Avoid cmake warnings about changes in behavior of some Mac OS X path
...
...
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