mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 13:59:06 +08:00
[expat] drop debug suffix
This commit is contained in:
parent
a3e607c8f1
commit
9a1618c8a5
@ -1,3 +1,3 @@
|
||||
Source: expat
|
||||
Version: 2.2.4
|
||||
Version: 2.2.4-1
|
||||
Description: XML parser library written in C
|
||||
|
@ -29,6 +29,9 @@ file(INSTALL ${SOURCE_PATH}/expat/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/sh
|
||||
|
||||
vcpkg_copy_pdbs()
|
||||
|
||||
# CMake's FindExpat currently doesn't look for expatd.lib
|
||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/expatd.lib ${CURRENT_PACKAGES_DIR}/debug/lib/expat.lib)
|
||||
|
||||
file(READ ${CURRENT_PACKAGES_DIR}/include/expat_external.h EXPAT_EXTERNAL_H)
|
||||
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
||||
string(REPLACE "!defined(XML_STATIC)" "/* vcpkg static build !defined(XML_STATIC) */ 0" EXPAT_EXTERNAL_H "${EXPAT_EXTERNAL_H}")
|
||||
|
Loading…
Reference in New Issue
Block a user