diff options
| author | LarryIII <33021067+LarryIII@users.noreply.github.com> | 2019-04-09 09:54:47 -0700 |
|---|---|---|
| committer | Phil Christensen <philc@microsoft.com> | 2019-04-09 09:54:47 -0700 |
| commit | 68d1d2b1ebbce02634ea82eec04c32fd6b23a7b8 (patch) | |
| tree | ed67c2b4c2d450899717e6fc150b18a2d2499fde /ports/sdl1 | |
| parent | 0caaf64b900c623f82e2d8f3ee314f92d9fd6edb (diff) | |
| download | vcpkg-68d1d2b1ebbce02634ea82eec04c32fd6b23a7b8.tar.gz vcpkg-68d1d2b1ebbce02634ea82eec04c32fd6b23a7b8.zip | |
[sdl1]Fix sdl1 conflict with sdl2 (#6011)
Diffstat (limited to 'ports/sdl1')
| -rw-r--r-- | ports/sdl1/CONTROL | 2 | ||||
| -rw-r--r-- | ports/sdl1/portfile.cmake | 8 |
2 files changed, 8 insertions, 2 deletions
diff --git a/ports/sdl1/CONTROL b/ports/sdl1/CONTROL index 9d9e856f6..ce37bc05d 100644 --- a/ports/sdl1/CONTROL +++ b/ports/sdl1/CONTROL @@ -1,3 +1,3 @@ Source: sdl1 -Version: 1.2.15-4 +Version: 1.2.15-5 Description: Simple DirectMedia Layer is a cross-platform development library designed to provide low level access to audio, keyboard, mouse, joystick, and graphics hardware via OpenGL and Direct3D. diff --git a/ports/sdl1/portfile.cmake b/ports/sdl1/portfile.cmake index c3e580fbb..2cbdfc42c 100644 --- a/ports/sdl1/portfile.cmake +++ b/ports/sdl1/portfile.cmake @@ -34,7 +34,13 @@ vcpkg_install_msbuild( ALLOW_ROOT_INCLUDES ) -file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/doxyfile) +#Take all the fils into include/SDL to sovle conflict with SDL2 port +file(GLOB files ${CURRENT_PACKAGES_DIR}/include/*) +foreach(file ${files}) + file(COPY ${file} DESTINATION ${CURRENT_PACKAGES_DIR}/include/SDL) + file(REMOVE ${file}) +endforeach() +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/include/SDL/doxyfile) if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release") file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/lib/manual-link) |
