mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-14 06:08:03 +08:00
[libflac] require NASM for libflac[asm] (#14465)
* require NASM for libflac[asm] * Increment port version number * Update ports/libflac/portfile.cmake Co-authored-by: BergemannC <CBergemann@nordex-online.com> Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
This commit is contained in:
parent
74844c7546
commit
b24be705e9
@ -1,6 +1,6 @@
|
||||
Source: libflac
|
||||
Version: 1.3.3
|
||||
Port-Version: 4
|
||||
Port-Version: 5
|
||||
Homepage: https://xiph.org/flac/
|
||||
Description: Library for manipulating FLAC files
|
||||
Build-Depends: libogg
|
||||
|
@ -22,6 +22,10 @@ if("asm" IN_LIST FEATURES)
|
||||
if(NOT VCPKG_TARGET_ARCHITECTURE STREQUAL x86)
|
||||
message(FATAL_ERROR "Feature asm only supports x86 architecture.")
|
||||
endif()
|
||||
|
||||
VCPKG_FIND_ACQUIRE_PROGRAM(NASM)
|
||||
GET_FILENAME_COMPONENT(NASM_PATH ${NASM} DIRECTORY)
|
||||
vcpkg_add_to_path("${NASM_PATH}")
|
||||
endif()
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
|
Loading…
x
Reference in New Issue
Block a user