mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-13 12:52:32 +08:00

* Updated gitignore * Basic Web support * Basic Cmake(not working) * Working CEF * Clean up Render/CWeb * Download CEF in CMAKE * Fixed compile error(excesive comma) * Fixed CWeb compile error(scaling mode) * Commented flag in CEF flag(-fno-rtti) which disabled dynamic cast * Commented CEF compiler flags for MacOS * Added third_party to gitignore * Fixed libvulkan.so.1 error (deleted file entirely) * Removed cefsimple, CefShutdown in signal, cleaned up cmake a bit * Updated .gitignore * Get render function to previous version * Fixed typo in coment * Fixed tab * Removed shaders too * Fix codefactor issues
40 lines
1.3 KiB
CMake
40 lines
1.3 KiB
CMake
# Copyright (c) 2016 The Chromium Embedded Framework Authors. All rights
|
|
# reserved. Use of this source code is governed by a BSD-style license that
|
|
# can be found in the LICENSE file.
|
|
|
|
#
|
|
# This file is the CEF CMake configuration entry point and should be loaded
|
|
# using `find_package(CEF REQUIRED)`. See the top-level CMakeLists.txt file
|
|
# included with the CEF binary distribution for usage information.
|
|
#
|
|
|
|
# Find the CEF binary distribution root directory.
|
|
set(_CEF_ROOT "")
|
|
if(CEF_ROOT AND IS_DIRECTORY "${CEF_ROOT}")
|
|
set(_CEF_ROOT "${CEF_ROOT}")
|
|
set(_CEF_ROOT_EXPLICIT 1)
|
|
else()
|
|
set(_ENV_CEF_ROOT "")
|
|
if(DEFINED ENV{CEF_ROOT})
|
|
file(TO_CMAKE_PATH "$ENV{CEF_ROOT}" _ENV_CEF_ROOT)
|
|
endif()
|
|
if(_ENV_CEF_ROOT AND IS_DIRECTORY "${_ENV_CEF_ROOT}")
|
|
set(_CEF_ROOT "${_ENV_CEF_ROOT}")
|
|
set(_CEF_ROOT_EXPLICIT 1)
|
|
endif()
|
|
unset(_ENV_CEF_ROOT)
|
|
endif()
|
|
|
|
if(NOT DEFINED _CEF_ROOT_EXPLICIT)
|
|
message(FATAL_ERROR "Must specify a CEF_ROOT value via CMake or environment variable.")
|
|
endif()
|
|
|
|
if(NOT IS_DIRECTORY "${_CEF_ROOT}/cmake")
|
|
message(FATAL_ERROR "No CMake bootstrap found for CEF binary distribution at: ${CEF_ROOT}.")
|
|
endif()
|
|
|
|
# Execute additional cmake files from the CEF binary distribution.
|
|
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${_CEF_ROOT}/cmake")
|
|
include("cef_variables")
|
|
include("cef_macros")
|