diff --git a/CMakeModules/DuckStationBuildSummary.cmake b/CMakeModules/DuckStationBuildSummary.cmake index dd155ae85..f2f27d496 100644 --- a/CMakeModules/DuckStationBuildSummary.cmake +++ b/CMakeModules/DuckStationBuildSummary.cmake @@ -1,4 +1,7 @@ message(STATUS "Build Type: ${CMAKE_BUILD_TYPE}") +string(TOUPPER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_UPPER) +message(STATUS "C Flags: ${CMAKE_C_FLAGS} ${CMAKE_C_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}") +message(STATUS "CXX Flags: ${CMAKE_CXX_FLAGS} ${CMAKE_CXX_FLAGS_${CMAKE_BUILD_TYPE_UPPER}}") if(ENABLE_OPENGL) message(STATUS "Building with OpenGL support.") diff --git a/CMakeModules/DuckStationDependencies.cmake b/CMakeModules/DuckStationDependencies.cmake index f02c669e3..6c8781e2d 100644 --- a/CMakeModules/DuckStationDependencies.cmake +++ b/CMakeModules/DuckStationDependencies.cmake @@ -68,7 +68,7 @@ find_package(freetype 2.14.1 REQUIRED find_package(harfbuzz REQUIRED NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/harfbuzz") find_package(plutosvg 0.0.7 REQUIRED - PATHS "${DEPS_PATH}/lib/cmake/plutosvg") + NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/plutosvg") find_package(cpuinfo REQUIRED NO_DEFAULT_PATH PATHS "${DEPS_PATH}/lib/cmake/cpuinfo") find_package(DiscordRPC 3.4.0 REQUIRED diff --git a/README.md b/README.md index 04d6b9161..b9d6981a7 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ Each release includes the latest version of the database, however you are free t Requirements: - Visual Studio 2026 or newer with the "Desktop development with C++" workload installed. -1. Clone the respository: `git clone https://github.com/stenzek/duckstation.git`. +1. Clone the repository: `git clone https://github.com/stenzek/duckstation.git`. 2. Download the dependencies pack from https://github.com/duckstation/dependencies. You'll need the `deps-windows-x64.7z` file, and `deps-windows-arm64.7z` if you want to cross-compile for ARM64. Extract these archives to `dep\prebuilt`. 3. Open the Visual Studio solution `duckstation.sln` in the root (recommended), or "Open Folder" for CMake build (not recommended/supported). 4. Build solution.