mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 08:09:12 +08:00
[x265] enable linux compilation
This commit is contained in:
parent
b6fe5b5db5
commit
919e5788a9
@ -29,7 +29,12 @@ vcpkg_copy_pdbs()
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||
|
||||
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/x265)
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/x265.exe ${CURRENT_PACKAGES_DIR}/tools/x265/x265.exe)
|
||||
|
||||
if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "LINUX")
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/x265 ${CURRENT_PACKAGES_DIR}/tools/x265/x265)
|
||||
else()
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/bin/x265.exe ${CURRENT_PACKAGES_DIR}/tools/x265/x265.exe)
|
||||
endif()
|
||||
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
|
||||
|
Loading…
Reference in New Issue
Block a user