Skip to content

Commit

Permalink
Merge branch 'v2.7.6' of github.com:OpenCMISS-Dependencies/libxml2 in…
Browse files Browse the repository at this point in the history
…to v2.7.6
  • Loading branch information
Daniel Wirtz committed Jun 8, 2015
2 parents 01a216d + b20d2c5 commit 1666703
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>LibXML2</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
</buildSpec>
<natures>
</natures>
</projectDescription>
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,9 @@ ENDIF( ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND ${CMAKE_SYSTEM_PROCESSOR} STREQ
ADD_LIBRARY( ${LIBRARY_TARGET_NAME} ${LIBRARY_BUILD_TYPE} ${XML2_SRCS} ${PUBLIC_HDRS} ${PRIVATE_HDRS} )
# Add the necessary flag to tell that XPATH is enabled
target_compile_definitions(${LIBRARY_TARGET_NAME} PUBLIC LIBXML_XPATH_ENABLED)
if (WIN32)
target_compile_definitions(${LIBRARY_TARGET_NAME} PUBLIC _WINDOWS)
endif()

IF( ZLIB_FOUND )
TARGET_LINK_LIBRARIES( ${LIBRARY_TARGET_NAME} zlib)
Expand Down

0 comments on commit 1666703

Please sign in to comment.