[nostalgia] Switch from Conan to bundled dep glfw
This commit is contained in:
parent
3e080b95d5
commit
c152bb9a66
@ -42,6 +42,7 @@ endif()
|
||||
add_subdirectory(deps/ox)
|
||||
include_directories(
|
||||
SYSTEM
|
||||
deps/glfw/include
|
||||
deps/imgui/src
|
||||
deps/ox/src
|
||||
)
|
||||
@ -49,6 +50,7 @@ include_directories(
|
||||
if(BUILDCORE_TARGET STREQUAL "gba")
|
||||
add_subdirectory(deps/gbastartup)
|
||||
else()
|
||||
add_subdirectory(deps/glfw)
|
||||
add_subdirectory(deps/imgui)
|
||||
endif()
|
||||
|
||||
|
@ -2,7 +2,7 @@ from conans import ConanFile, CMake
|
||||
|
||||
class NostalgiaConan(ConanFile):
|
||||
settings = 'os', 'compiler', 'build_type', 'arch'
|
||||
requires = 'jsoncpp/1.9.4', 'glfw/3.3.4', 'imgui/1.86'
|
||||
requires = 'jsoncpp/1.9.4', 'imgui/1.86'
|
||||
generators = 'cmake', 'cmake_find_package', 'cmake_paths'
|
||||
default_options = {
|
||||
}
|
||||
|
@ -1,5 +1,4 @@
|
||||
if(NOT NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
|
||||
find_package(glfw3 REQUIRED)
|
||||
find_package(imgui REQUIRED)
|
||||
if(APPLE)
|
||||
find_package(OpenGL REQUIRED)
|
||||
@ -18,7 +17,7 @@ if(NOT NOSTALGIA_BUILD_TYPE STREQUAL "GBA")
|
||||
set(
|
||||
NOSTALGIA_CORE_IMPL_LIBS
|
||||
${OPENGL_gl_LIBRARY}
|
||||
glfw::glfw
|
||||
glfw
|
||||
imgui::imgui
|
||||
imgui-glfw
|
||||
NostalgiaGlUtils
|
||||
|
Loading…
Reference in New Issue
Block a user