Skip to content
Snippets Groups Projects
CEFPlugin.cmake 1.03 KiB
Newer Older
# -*- cmake -*-
include(Linking)
include(Prebuilt)

if (USESYSTEMLIBS)
    set(CEFPLUGIN OFF CACHE BOOL
        "CEFPLUGIN support for the llplugin/llmedia test apps.")
else (USESYSTEMLIBS)
    set(CEFPLUGIN ON CACHE BOOL
        "CEFPLUGIN support for the llplugin/llmedia test apps.")
        set(CEF_INCLUDE_DIR ${LIBS_PREBUILT_DIR}/include/cef)
        ${ARCH_PREBUILT_DIRS_RELEASE}/libcef.lib
        ${ARCH_PREBUILT_DIRS_RELEASE}/libcef_dll_wrapper.lib
        ${ARCH_PREBUILT_DIRS_RELEASE}/dullahan.lib
    FIND_LIBRARY(APPKIT_LIBRARY AppKit)
    if (NOT APPKIT_LIBRARY)
        message(FATAL_ERROR "AppKit not found")
    endif()

    set(CEF_PLUGIN_LIBRARIES
        ${ARCH_PREBUILT_DIRS_RELEASE}/libcef_dll_wrapper.a
        ${ARCH_PREBUILT_DIRS_RELEASE}/libdullahan.a
Darl Cat's avatar
Darl Cat committed
    set(CEF_PLUGIN_LIBRARIES
        dullahan
        cef
        cef_dll_wrapper.a
    )