mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 02:57:09 +01:00
[x265] Fix detect platform
This commit is contained in:
parent
919e5788a9
commit
55ca74d649
@ -1,3 +1,3 @@
|
|||||||
Source: x265
|
Source: x265
|
||||||
Version: 2.9-1
|
Version: 2.9-2
|
||||||
Description: x265 is a H.265 / HEVC video encoder application library, designed to encode video or images into an H.265 / HEVC encoded bitstream.
|
Description: x265 is a H.265 / HEVC video encoder application library, designed to encode video or images into an H.265 / HEVC encoded bitstream.
|
||||||
|
@ -30,9 +30,9 @@ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
|||||||
|
|
||||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/x265)
|
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/x265)
|
||||||
|
|
||||||
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "LINUX")
|
if(UNIX)
|
||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/x265 ${CURRENT_PACKAGES_DIR}/tools/x265/x265)
|
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/x265 ${CURRENT_PACKAGES_DIR}/tools/x265/x265)
|
||||||
else()
|
elseif(WIN32)
|
||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/x265.exe ${CURRENT_PACKAGES_DIR}/tools/x265/x265.exe)
|
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/x265.exe ${CURRENT_PACKAGES_DIR}/tools/x265/x265.exe)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user