Skip to content

Commit

Permalink
fix output of version in libde265.pc (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
farindk committed Jun 13, 2023
1 parent 0b1752a commit 93a3051
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libde265/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,5 +151,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)

0 comments on commit 93a3051

Please sign in to comment.