diff --git a/cmake/modules/private/InstallPackage.cmake b/cmake/modules/private/InstallPackage.cmake index 70174bc..f067de5 100644 --- a/cmake/modules/private/InstallPackage.cmake +++ b/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()