Newer
Older
Bryan O'Sullivan
committed
# -*- cmake -*-
Jennifer Leech
committed
include(Prebuilt)
Bryan O'Sullivan
committed
set(EXPAT_FIND_QUIETLY ON)
set(EXPAT_FIND_REQUIRED ON)
if (USESYSTEMLIBS)
Bryan O'Sullivan
committed
include(FindEXPAT)
else (USESYSTEMLIBS)
Jennifer Leech
committed
use_prebuilt_binary(expat)
Bryan O'Sullivan
committed
if (WINDOWS)

Rye Mutt
committed
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libexpatd.lib
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libexpat.lib)
set(EXPAT_LIBRARIES
debug ${ARCH_PREBUILT_DIRS_DEBUG}/libexpat.a
optimized ${ARCH_PREBUILT_DIRS_RELEASE}/libexpat.a)

Rye Mutt
committed
endif ()
Bryan O'Sullivan
committed
set(EXPAT_INCLUDE_DIRS ${LIBS_PREBUILT_DIR}/include)
endif (USESYSTEMLIBS)