Commit 57ff5c11 authored by DanmeiChen's avatar DanmeiChen

fix no CoreServices framework found

parent 21c6fe8d
......@@ -38,13 +38,12 @@ if(LIBXSD_INCLUDE_DIRS)
list(APPEND LIBXSD_INCLUDE_DIRS ${XercesC_INCLUDE_DIRS})
endif()
if(APPLE)
if (APPLE AND NOT IOS)
set(LIBXSD_LIBRARIES ${XercesC_LIBRARIES} "-framework CoreServices")
else()
set(LIBXSD_LIBRARIES ${XercesC_LIBRARIES})
endif()
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(LibXsd
DEFAULT_MSG
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment