2020-08-28 13:20:06 +08:00
|
|
|
diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt
|
2021-06-11 23:48:00 +08:00
|
|
|
index cd12a99..03c2c4d 100644
|
2020-08-28 13:20:06 +08:00
|
|
|
--- a/expat/CMakeLists.txt
|
|
|
|
+++ b/expat/CMakeLists.txt
|
2021-06-11 23:48:00 +08:00
|
|
|
@@ -419,6 +419,8 @@ expat_install(FILES lib/expat.h lib/expat_external.h DESTINATION ${CMAKE_INSTALL
|
2020-08-28 13:20:06 +08:00
|
|
|
#
|
|
|
|
# pkg-config file
|
|
|
|
#
|
|
|
|
+string(TOUPPER "${CMAKE_BUILD_TYPE}" BUILD_TYPE_UPPER)
|
|
|
|
+set(_EXPAT_OUTPUT_NAME ${_EXPAT_OUTPUT_NAME}${CMAKE_${BUILD_TYPE_UPPER}_POSTFIX})
|
2021-06-11 23:48:00 +08:00
|
|
|
if(EXPAT_BUILD_PKGCONFIG)
|
2020-08-28 13:20:06 +08:00
|
|
|
set(prefix ${CMAKE_INSTALL_PREFIX})
|
|
|
|
set(exec_prefix "\${prefix}")
|