Skip to content

[sdl2] build fails when VCPKG_BUILD_TYPE is set to "release" #13800

@past-due

Description

@past-due

Host Environment

  • OS: Any
  • Compiler: Any

To Reproduce
Steps to reproduce the behavior:

  1. Define VCPKG_BUILD_TYPE to release (i.e.. VCPKG_BUILD_TYPE=release)
  2. ./vcpkg install sdl2

Failure logs

Building package sdl2[core,vulkan]:x86-windows...
[...]
-- Configuring x86-windows
-- Building x86-windows-rel
CMake Error at scripts/cmake/vcpkg_replace_string.cmake:11 (file):
  file failed to open for reading (No such file or directory):

    D:/[...]/build/vcpkg/packages/sdl2_x86-windows/debug/lib/pkgconfig/sdl2.pc
Call Stack (most recent call first):
  ports/sdl2/portfile.cmake:95 (vcpkg_replace_string)
  scripts/ports.cmake:79 (include)

Additional context
PR forthcoming with fix

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions