From 64370294f9443740a1c4f1ab02ee9b39d533f3f6 Mon Sep 17 00:00:00 2001 From: "Christopher A. Mosher" Date: Wed, 2 Nov 2022 00:27:02 -0400 Subject: [PATCH] workaround windows build problems --- .github/workflows/build.yaml | 2 +- src/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index cbd609a..3f080f2 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -97,7 +97,7 @@ jobs: shell: "bash" run: | mkdir build - cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_PREFIX_PATH=vcpkg/installed/x64-linux + cmake -B build -S . -DCMAKE_TOOLCHAIN_FILE=vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_PREFIX_PATH=vcpkg/installed/x64-windows cmake --build build dir build/src dir -Path build/conf diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9c0247e..1bbc4a8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,3 +1,4 @@ +set(CMAKE_FIND_DEBUG_MODE 1) find_package(SDL2 REQUIRED) include_directories(${SDL2_INCLUDE_DIRS})