From 28dbb2eacd129eb8944004b9c67ff777de2e15d1 Mon Sep 17 00:00:00 2001 From: TheBrokenRail Date: Wed, 7 Feb 2024 22:11:18 -0500 Subject: [PATCH] Some CMake Cleanup --- dependencies/LIEF/CMakeLists.txt | 3 --- dependencies/glfw/CMakeLists.txt | 3 --- mods/include/mods/title-screen/title-screen.h | 1 + 3 files changed, 1 insertion(+), 6 deletions(-) diff --git a/dependencies/LIEF/CMakeLists.txt b/dependencies/LIEF/CMakeLists.txt index 83a2238a..518e6206 100644 --- a/dependencies/LIEF/CMakeLists.txt +++ b/dependencies/LIEF/CMakeLists.txt @@ -28,9 +28,6 @@ set(MESSAGE_QUIET TRUE) add_subdirectory(src EXCLUDE_FROM_ALL) unset(MESSAGE_QUIET) -# Ensure Build -add_custom_target(LIEF-build ALL DEPENDS LIB_LIEF) - # Install install(TARGETS LIB_LIEF DESTINATION "${MCPI_LIB_DIR}") if(BUILD_ARM_COMPONENTS) diff --git a/dependencies/glfw/CMakeLists.txt b/dependencies/glfw/CMakeLists.txt index f2b250d9..21b4b5bd 100644 --- a/dependencies/glfw/CMakeLists.txt +++ b/dependencies/glfw/CMakeLists.txt @@ -20,9 +20,6 @@ set(MESSAGE_QUIET TRUE) add_subdirectory(src EXCLUDE_FROM_ALL) unset(MESSAGE_QUIET) -# Ensure Build -add_custom_target(glfw-build ALL DEPENDS glfw) - # Install install(TARGETS glfw DESTINATION "${MCPI_LIB_DIR}") diff --git a/mods/include/mods/title-screen/title-screen.h b/mods/include/mods/title-screen/title-screen.h index bef55ccd..bbe30a43 100644 --- a/mods/include/mods/title-screen/title-screen.h +++ b/mods/include/mods/title-screen/title-screen.h @@ -1,5 +1,6 @@ #pragma once +#include #include void title_screen_load_splashes(std::vector &splashes);