VERY experimental Nintendo Switch 2 emulator
C++
fixed a bunch of errors in CMakeLists
bunnei9527fc74add2
diff --git a/CMakeLists.txt b/CMakeLists.txtindex 0adc5e6f48..6f886b21bd 100644--- a/CMakeLists.txt+++ b/CMakeLists.txt@@ -9,15 +9,9 @@ add_definitions(-DSINGLETHREADED)# dependency checkingset(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/CMakeTests)include(FindOpenGL REQUIRED)-include(FindGLFW REQUIRED)include(FindX11 REQUIRED)-if(NOT GLFW_FOUND)- message(FATAL_ERROR "glfw not found")-else()- include_directories(${GLFW_INCLUDE_DIRS})-endif()-+include_directories(${GLFW_INCLUDE_DIRS})option(DISABLE_QT4 "Disable Qt4 GUI" OFF)if(NOT DISABLE_QT4)include(FindQt4)@@ -33,7 +27,6 @@ if(NOT DISABLE_QT4)endif()# external includes-include_directories(${SDL2_INCLUDE_DIR})include_directories(${OPENGL_INCLUDE_DIR})# internal includesdiff --git a/src/citra/CMakeLists.txt b/src/citra/CMakeLists.txtindex e3ea4e41d2..c6913df571 100644--- a/src/citra/CMakeLists.txt+++ b/src/citra/CMakeLists.txt@@ -1,5 +1,5 @@set(SRCS citra.cpp- emuwindow/emuwindow_glfw.cpp)+ emu_window/emu_window_glfw.cpp)# NOTE: This is a workaround for CMake bug 0006976 (missing X11_xf86vmode_LIB variable)if (NOT X11_xf86vmode_LIB)diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txtindex b4f074017b..9cfb9b1c8c 100644--- a/src/core/CMakeLists.txt+++ b/src/core/CMakeLists.txt@@ -15,7 +15,7 @@ set(SRCS core.cpparm/interpreter/thumbemu.cpparm/mmu/arm1176jzf_s_mmu.cppelf/elf_reader.cpp- file_sys/directory_file_system/cpp+ file_sys/directory_file_system.cppfile_sys/meta_file_system.cpphw/hw.cpphw/hw_lcd.cpp)diff --git a/src/video_core/CMakeLists.txt b/src/video_core/CMakeLists.txtindex 84b8f133e4..56394b9305 100644--- a/src/video_core/CMakeLists.txt+++ b/src/video_core/CMakeLists.txt@@ -1,5 +1,5 @@-set(SRCS src/video_core.cpp- src/utils.cpp- src/renderer_opengl/renderer_opengl.cpp)+set(SRCS video_core.cpp+ utils.cpp+ renderer_opengl/renderer_opengl.cpp)add_library(video_core STATIC ${SRCS})