This commit is contained in:
lachrymaLF 2024-08-13 16:03:44 -04:00
parent b5fea1184b
commit f544498298
2 changed files with 4 additions and 2 deletions

3
.gitmodules vendored
View file

@ -23,3 +23,6 @@
[submodule "Keishiki/ext/vg-renderer"] [submodule "Keishiki/ext/vg-renderer"]
path = Keishiki/ext/vg-renderer path = Keishiki/ext/vg-renderer
url = https://github.com/jdryg/vg-renderer.git url = https://github.com/jdryg/vg-renderer.git
[submodule "Keishiiki/ext/SDL"]
path = Keishiki/ext/SDL
url = https://github.com/libsdl-org/SDL.git

View file

@ -1,4 +1,4 @@
# CMakeList.txt : CMake project for Keishiki, include source and define # CMakeList.txt : CMake project for Keishiki, include source and define
# project specific logic here. # project specific logic here.
# #
cmake_minimum_required (VERSION 3.16) cmake_minimum_required (VERSION 3.16)
@ -43,7 +43,6 @@ if (WIN32)
elseif (APPLE) elseif (APPLE)
target_link_libraries (Keishiki PRIVATE bgfx bx SDL3::SDL3 fmt) target_link_libraries (Keishiki PRIVATE bgfx bx SDL3::SDL3 fmt)
else () else ()
find_package(SDL3 REQUIRED CONFIG REQUIRED COMPONENTS SDL3-shared)
find_package(ECM REQUIRED NO_MODULE) find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_FIND_MODULE_DIR}) set(CMAKE_MODULE_PATH ${ECM_FIND_MODULE_DIR})
find_package(Wayland REQUIRED Egl) find_package(Wayland REQUIRED Egl)