mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 08:31:37 +08:00
3a98608b80
* [expat] Update to 2.3.0 * update version * [expat] Update to 2.4.1 * update version * add pkgconfig.patch * update version * revert pkgconfig.patch * update version * revert patch format * update version
14 lines
509 B
Diff
14 lines
509 B
Diff
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt
|
|
index cd12a99..03c2c4d 100644
|
|
--- a/expat/CMakeLists.txt
|
|
+++ b/expat/CMakeLists.txt
|
|
@@ -419,6 +419,8 @@ expat_install(FILES lib/expat.h lib/expat_external.h DESTINATION ${CMAKE_INSTALL
|
|
#
|
|
# pkg-config file
|
|
#
|
|
+string(TOUPPER "${CMAKE_BUILD_TYPE}" BUILD_TYPE_UPPER)
|
|
+set(_EXPAT_OUTPUT_NAME ${_EXPAT_OUTPUT_NAME}${CMAKE_${BUILD_TYPE_UPPER}_POSTFIX})
|
|
if(EXPAT_BUILD_PKGCONFIG)
|
|
set(prefix ${CMAKE_INSTALL_PREFIX})
|
|
set(exec_prefix "\${prefix}")
|