Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
linphone-cmake-builder
Commits
ee1202b4
Commit
ee1202b4
authored
Mar 17, 2016
by
François Grisez
Browse files
Makes the Python wrapper to use the libxml2 provided by MacOSX
parent
8eb5e2e3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
cmake/FindXML2.cmake
cmake/FindXML2.cmake
+5
-6
No files found.
cmake/FindXML2.cmake
View file @
ee1202b4
...
...
@@ -26,13 +26,13 @@
# XML2_INCLUDE_DIRS - the libxml2 include directory
# XML2_LIBRARIES - The libraries needed to use libxml2
set
(
_XML2_ROOT_PATHS
${
CMAKE_INSTALL_PREFIX
}
)
if
(
APPLE AND IOS
)
set
(
_XML2_ROOT_PATHS
"/usr/lib"
)
endif
(
)
find_path
(
XML2_INCLUDE_DIRS
NAMES libxml/xmlreader.h
HINTS _XML2_ROOT_PATHS
HINTS
"
${
_XML2_ROOT_PATHS
}
"
PATH_SUFFIXES include/libxml2
)
...
...
@@ -42,8 +42,7 @@ endif()
find_library
(
XML2_LIBRARIES
NAMES xml2
HINTS
${
_XML2_ROOT_PATHS
}
PATH_SUFFIXES bin lib
HINTS
"
${
_XML2_ROOT_PATHS
}
"
)
include
(
FindPackageHandleStandardArgs
)
...
...
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