From 93fcafc2096a0c7e5e9d84dd8e3e5fde30b6e432 Mon Sep 17 00:00:00 2001 From: JZ <135723295+jez6@users.noreply.github.com> Date: Wed, 21 Feb 2024 11:09:40 -0500 Subject: [PATCH] Update CMakeLists.txt use FILES target for quantlib.pc so it doesn't get executable bits set --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7e4ef9c0e82..522fad95d3d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -232,7 +232,7 @@ 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(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/quantlib.pc DESTINATION lib/pkgconfig) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/quantlib.pc DESTINATION lib/pkgconfig) include(Platform)