diff --git a/expat/CMakeLists.txt b/expat/CMakeLists.txt index ab3b8d8c..3edc70c8 100644 --- a/expat/CMakeLists.txt +++ b/expat/CMakeLists.txt @@ -481,8 +481,7 @@ if(EXPAT_BUILD_PKGCONFIG) file(GENERATE OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/$/expat.pc - INPUT ${PROJECT_SOURCE_DIR}/expat.pc.cmake - TARGET expat) + INPUT ${PROJECT_SOURCE_DIR}/expat.pc.cmake) expat_install(FILES ${CMAKE_CURRENT_BINARY_DIR}/$/expat.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig) endif() diff --git a/expat/Changes b/expat/Changes index 51cbaa2d..45334300 100644 --- a/expat/Changes +++ b/expat/Changes @@ -4,6 +4,7 @@ NOTE: We are looking for help with a few things: Release x.x.x xxx xxxxxxxx xx xxxx Other changes: + #535 CMake: Make call to file(GENERATE [..]) work for CMake <3.19 #527 #528 Address compiler warnings Release 2.4.2 Sun December 19 2021 diff --git a/expat/expat.pc.cmake b/expat/expat.pc.cmake index 948e35ff..fa2291a1 100644 --- a/expat/expat.pc.cmake +++ b/expat/expat.pc.cmake @@ -1,11 +1,11 @@ -prefix=$ -exec_prefix=$ -libdir=$ -includedir=$ +prefix=$ +exec_prefix=$ +libdir=$ +includedir=$ -Name: $>_name> -Version: $ +Name: $>_name> +Version: $ Description: expat XML parser URL: https://libexpat.github.io/ -Libs: -L${libdir} -l$>_name> $ +Libs: -L${libdir} -l$>_name> $ Cflags: -I${includedir}