We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b1752a commit 93a3051Copy full SHA for 93a3051
libde265/CMakeLists.txt
@@ -151,5 +151,6 @@ else()
151
set(includedir "\${prefix}/${CMAKE_INSTALL_INCLUDEDIR}")
152
endif()
153
154
+set(VERSION ${PROJECT_VERSION}) # so that the replacement in libde265.pc will work with both autotools and CMake
155
configure_file(../libde265.pc.in ${CMAKE_CURRENT_BINARY_DIR}/libde265.pc @ONLY)
156
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libde265.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
0 commit comments