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
44e3d6b8
Commit
44e3d6b8
authored
Dec 28, 2014
by
Davis King
Browse files
cleaned up cmake file a little
parent
a093553e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+1
-3
No files found.
dlib/CMakeLists.txt
View file @
44e3d6b8
...
@@ -216,9 +216,7 @@ if (NOT TARGET dlib)
...
@@ -216,9 +216,7 @@ if (NOT TARGET dlib)
if
(
DLIB_LINK_WITH_LIBPNG
)
if
(
DLIB_LINK_WITH_LIBPNG
)
# try to find libpng
# try to find libpng
set
(
ZLIB_FIND_QUIETLY ON
)
find_package
(
PNG QUIET
)
set
(
PNG_FIND_QUIETLY ON
)
include
(
FindPNG
)
if
(
PNG_FOUND
)
if
(
PNG_FOUND
)
include_directories
(
${
PNG_INCLUDE_DIR
}
)
include_directories
(
${
PNG_INCLUDE_DIR
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
PNG_LIBRARY
}
)
set
(
dlib_needed_libraries
${
dlib_needed_libraries
}
${
PNG_LIBRARY
}
)
...
...
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