mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:23:41 +08:00
14a96b1980
* [libde265] Fix incorrect pc file * Apply upstream change
12 lines
550 B
Diff
12 lines
550 B
Diff
diff --git a/libde265/CMakeLists.txt b/libde265/CMakeLists.txt
|
|
index 2856f90..ccbc8b6 100644
|
|
--- a/libde265/CMakeLists.txt
|
|
+++ b/libde265/CMakeLists.txt
|
|
@@ -147,5 +147,6 @@ else()
|
|
set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
|
|
endif()
|
|
|
|
+set(VERSION ${PROJECT_VERSION}) # so that the replacement in libde265.pc will work with both autotools and CMake
|
|
configure_file(../libde265.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libde265.pc @ONLY)
|
|
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libde265.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|