mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-28 03:10:57 +08:00
[mp3lame] fix crt linkage (#13390)
* [mp3lame] fix crt linkage * Update portfile.cmake Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
This commit is contained in:
parent
8fdd0b7217
commit
c4e3da7c5f
@ -1,4 +1,5 @@
|
||||
Source: mp3lame
|
||||
Version: 3.100-3
|
||||
Version: 3.100
|
||||
Port-Version: 4
|
||||
Homepage: http://lame.sourceforge.net/
|
||||
Description: LAME is a high quality MPEG Audio Layer III (MP3) encoder licensed under the LGPL.
|
||||
|
@ -35,7 +35,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
|
||||
foreach(vcxproj ${vcxprojs})
|
||||
file(READ "${SOURCE_PATH}/vc_solution/${vcxproj}" vcxproj_con)
|
||||
|
||||
if(NOT VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
|
||||
if(NOT VCPKG_CRT_LINKAGE STREQUAL dynamic)
|
||||
string(REPLACE "DLL</RuntimeLibrary>" "</RuntimeLibrary>" vcxproj_con "${vcxproj_con}")
|
||||
endif()
|
||||
|
||||
@ -141,6 +141,6 @@ else()
|
||||
endif()
|
||||
|
||||
file(COPY ${SOURCE_PATH}/include/lame.h DESTINATION ${CURRENT_PACKAGES_DIR}/include/lame)
|
||||
configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/mp3lame/copyright COPYONLY)
|
||||
configure_file(${SOURCE_PATH}/COPYING ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
|
||||
configure_file(${CMAKE_CURRENT_LIST_DIR}/Config.cmake.in ${CURRENT_PACKAGES_DIR}/share/mp3lame/mp3lame-config.cmake @ONLY)
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/mp3lame)
|
||||
file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
|
||||
|
Loading…
x
Reference in New Issue
Block a user