Skip to content

Commit

Permalink
Generate and install pkg-config files as part of CMake builds, too (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
lballabio committed Feb 22, 2024
2 parents 012754d + 93fcafc commit 1db1904
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,9 @@ set(exec_prefix "\${prefix}")
set(includedir "\${prefix}/include")
set(libdir "\${exec_prefix}/lib")
configure_file(quantlib-config.in quantlib-config @ONLY)
configure_file(quantlib.pc.in quantlib.pc @ONLY)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/quantlib-config TYPE BIN)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/quantlib.pc DESTINATION lib/pkgconfig)

include(Platform)

Expand Down

0 comments on commit 1db1904

Please sign in to comment.