From 4f09703b556432696466537844b726b1b5d312b2 Mon Sep 17 00:00:00 2001 From: LaurentGom Date: Sun, 7 Nov 2010 16:50:00 +0000 Subject: [PATCH] Fixed install path for libraries in CMake makefiles git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/branches/sfml2@1621 4e206d99-4929-0410-ac5d-dfc041789085 --- CSFML/cmake/Macros.cmake | 4 ++-- cmake/Macros.cmake | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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()