diff --git "a/CMakeLists.txt" "b/CMakeLists.txt" index 679df4e..0a01d47 100644 --- "a/CMakeLists.txt" +++ "b/CMakeLists.txt" @@ -106,10 +106,10 @@ macro(install_suitesparse_project targetName headersList) set_target_properties(${targetName} PROPERTIES PUBLIC_HEADER "${headersList}") install(TARGETS ${targetName} EXPORT SuiteSparse - RUNTIME DESTINATION bin - LIBRARY DESTINATION lib${LIB_POSTFIX} - ARCHIVE DESTINATION lib${LIB_POSTFIX} - PUBLIC_HEADER DESTINATION include/suitesparse + RUNTIME DESTINATION ${suitesparse_PKG_DIR}/$<$:Debug/>bin + LIBRARY DESTINATION ${suitesparse_PKG_DIR}/$<$:Debug/>lib + ARCHIVE DESTINATION ${suitesparse_PKG_DIR}/$<$:Debug/>lib + PUBLIC_HEADER DESTINATION ${suitesparse_PKG_DIR}/include/suitesparse ) endmacro()