mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 14:39:08 +08:00
53a47bca4f
Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
16 lines
566 B
Diff
16 lines
566 B
Diff
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt
|
|
index a67f081b1..cc220f2a1 100644
|
|
--- a/expat/CMakeLists.txt
|
|
+++ b/expat/CMakeLists.txt
|
|
@@ -294,7 +294,9 @@ 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(NOT MSVC)
|
|
+if(1)
|
|
set(prefix ${CMAKE_INSTALL_PREFIX})
|
|
set(exec_prefix "\${prefix}")
|
|
set(libdir "\${exec_prefix}/${CMAKE_INSTALL_LIBDIR}")
|