libxml uses YAP internals-II
This commit is contained in:
parent
b384c40213
commit
c552dc6a2c
@ -38,9 +38,11 @@ INCLUDE_DIRECTORIES(
|
||||
)
|
||||
if (WIN32)
|
||||
ADD_LIBRARY(libxml2 OBJECT ${LIBXML2_SOURCES} )
|
||||
set(YAP_SYSTEM_OPTIONS "libxml2 " ${YAP_SYSTEM_OPTIONS} PARENT_SCOPE)
|
||||
set( CMAKE_REQUIRED_LIBRARIES ${CMAKE_REQUIRED_LIBRARIES} ${LIBXML2_LIBRARIES} )
|
||||
|
||||
else (WIN32)
|
||||
ADD_LIBRARY(libxml2 SHARED ${LIBXML2_SOURCES} )
|
||||
endif(WIN32)
|
||||
|
||||
if(DEFINED YAP_MAJOR_VERSION)
|
||||
TARGET_LINK_LIBRARIES(libxml2
|
||||
@ -53,6 +55,7 @@ endif(WIN32)
|
||||
${YAP_LIBRARY}
|
||||
)
|
||||
endif()
|
||||
endif(WIN32)
|
||||
|
||||
check_include_files( libxml2/libxml2.h HAVE_LIBXML2_LIBXML2_H )
|
||||
|
||||
|
Reference in New Issue
Block a user