From 6aac6a6efd1d50c221580bfb0ab749136323f053 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Wed, 30 Oct 2024 17:37:31 -0600 Subject: [PATCH 1/2] Bump dependencies --- libultraship | 2 +- tools/Torch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libultraship b/libultraship index e15b3ab1..00c6bcc8 160000 --- a/libultraship +++ b/libultraship @@ -1 +1 @@ -Subproject commit e15b3ab12a696a5fe400185966752f0927200b5a +Subproject commit 00c6bcc88286173ce22b8a6656373d3aa5830c62 diff --git a/tools/Torch b/tools/Torch index 29857867..ff8c2d13 160000 --- a/tools/Torch +++ b/tools/Torch @@ -1 +1 @@ -Subproject commit 298578677e28ef1fe0d3a425f2856930c6cc4ef1 +Subproject commit ff8c2d13c71069f3117faf42ed25f0816229a872 From f4f28384dc4a0a07234efdd7969ab3d905836ab3 Mon Sep 17 00:00:00 2001 From: KiritoDv Date: Wed, 30 Oct 2024 17:42:10 -0600 Subject: [PATCH 2/2] Cleaned up cmake --- CMakeLists.txt | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e6d21b43..e9a51296 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,23 +18,15 @@ set(CMAKE_C_STANDARD 11 CACHE STRING "The C standard to use") # Add a custom module path to locate additional CMake modules set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/modules/") -include(FindFontconfig) if (WIN32) include(cmake/automate-vcpkg.cmake) -# Forced to use MSVC -set(MSVC ON) - -if(MSVC) set(VCPKG_TRIPLET x64-windows-static) set(VCPKG_TARGET_TRIPLET x64-windows-static) -else() -set(VCPKG_TRIPLET x64-mingw-static) -set(VCPKG_TARGET_TRIPLET x64-mingw-static) -endif() - vcpkg_bootstrap() -vcpkg_install_packages(fontconfig sdl2 zlib bzip2 libzip libpng getopt dirent libusb pthread glew glfw3 nlohmann-json tinyxml2 spdlog) +vcpkg_install_packages(zlib bzip2 libzip libpng sdl2 glew glfw3 nlohmann-json tinyxml2 spdlog) +else() +include(FindFontconfig) endif() if (MSVC)