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
This commit is contained in:
LaurentGom 2010-11-07 16:50:00 +00:00
parent d2b0953e03
commit 4f09703b55
2 changed files with 4 additions and 4 deletions

View File

@ -89,7 +89,7 @@ macro(csfml_add_library target)
# add the install rule # add the install rule
install(TARGETS ${target} install(TARGETS ${target}
RUNTIME DESTINATION bin COMPONENT bin RUNTIME DESTINATION bin COMPONENT bin
LIBRARY DESTINATION lib COMPONENT bin LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT bin
ARCHIVE DESTINATION lib COMPONENT devel) ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT devel)
endmacro() endmacro()

View File

@ -152,8 +152,8 @@ macro(sfml_add_library target)
# add the install rule # add the install rule
install(TARGETS ${target} install(TARGETS ${target}
RUNTIME DESTINATION bin COMPONENT bin RUNTIME DESTINATION bin COMPONENT bin
LIBRARY DESTINATION lib COMPONENT bin LIBRARY DESTINATION lib${LIB_SUFFIX} COMPONENT bin
ARCHIVE DESTINATION lib COMPONENT devel) ARCHIVE DESTINATION lib${LIB_SUFFIX} COMPONENT devel)
endmacro() endmacro()