diff --git a/CSFML/cmake/Macros.cmake b/CSFML/cmake/Macros.cmake index 1aa543c3f..0e1570372 100644 --- a/CSFML/cmake/Macros.cmake +++ b/CSFML/cmake/Macros.cmake @@ -89,7 +89,7 @@ macro(csfml_add_library target) # add the install rule install(TARGETS ${target} RUNTIME DESTINATION bin COMPONENT bin - LIBRARY DESTINATION lib COMPONENT bin - ARCHIVE DESTINATION lib COMPONENT devel) + LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT bin + ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT devel) endmacro() diff --git a/cmake/Macros.cmake b/cmake/Macros.cmake index b149ec3a9..84ebe9657 100644 --- a/cmake/Macros.cmake +++ b/cmake/Macros.cmake @@ -152,8 +152,8 @@ macro(sfml_add_library target) # add the install rule install(TARGETS ${target} RUNTIME DESTINATION bin COMPONENT bin - LIBRARY DESTINATION lib COMPONENT bin - ARCHIVE DESTINATION lib COMPONENT devel) + LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT bin + ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT devel) endmacro()