From 56830725e641705e0113a068ee58df7029202439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois-Simon=20Fauteux-Chapleau?= Date: Wed, 2 Apr 2025 20:54:02 -0400 Subject: [PATCH] fix qm_install_package function --- cmake/modules/private/InstallPackage.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qmsetup/cmake/modules/private/InstallPackage.cmake b/qmsetup/cmake/modules/private/InstallPackage.cmake index 70174bc..f067de5 100644 --- a/qmsetup/cmake/modules/private/InstallPackage.cmake +++ b/qmsetup/cmake/modules/private/InstallPackage.cmake @@ -101,6 +101,7 @@ function(qm_install_package _name) execute_process( COMMAND ${CMAKE_COMMAND} -S ${_src_dir} -B ${_build_dir} ${_extra_args} ${_build_type} + "-DCMAKE_INSTALL_LIBDIR=${CMAKE_INSTALL_LIBDIR}" "-DCMAKE_INSTALL_PREFIX=${_install_dir}" ${FUNC_CONFIGURE_ARGS} OUTPUT_FILE ${_log_file} ERROR_FILE ${_log_file} @@ -150,4 +151,4 @@ function(qm_install_package _name) if(FUNC_RESULT_PATH) set(${FUNC_RESULT_PATH} ${_install_cmake_dir} PARENT_SCOPE) endif() -endfunction() \ No newline at end of file +endfunction() -- 2.34.1