winget-cli

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

export-pkgconfig.patch (587B)


      1 diff --git a/CMakeLists.txt b/CMakeLists.txt
      2 index 4f81148..8006536 100644
      3 --- a/CMakeLists.txt
      4 +++ b/CMakeLists.txt
      5 @@ -158,3 +158,11 @@ install(
      6    FILES ${config_version_file}
      7    DESTINATION ${INSTALL_CMAKE_DIR} COMPONENT Development
      8    )
      9 +
     10 +set(prefix ${CMAKE_INSTALL_PREFIX})
     11 +set(exec_prefix ${CMAKE_INSTALL_PREFIX})
     12 +set(includedir ${CMAKE_INSTALL_PREFIX}/include)
     13 +set(libdir ${CMAKE_INSTALL_PREFIX}/lib)
     14 +set(PACKAGE_VERSION 0.1)
     15 +configure_file(yaml-0.1.pc.in ${PROJECT_BINARY_DIR}/yaml-0.1.pc @ONLY)
     16 +install(FILES ${PROJECT_BINARY_DIR}/yaml-0.1.pc DESTINATION lib/pkgconfig)