mirror of
https://github.com/SFML/SFML.git
synced 2024-11-28 22:31:09 +08:00
Fixed install rules according to the new x86/x64 directories in extlibs
This commit is contained in:
parent
4217ea68f6
commit
dc80731bae
@ -74,8 +74,13 @@ install(DIRECTORY include
|
|||||||
install(FILES cmake/Modules/FindSFML.cmake DESTINATION ${CMAKE_ROOT}/Modules)
|
install(FILES cmake/Modules/FindSFML.cmake DESTINATION ${CMAKE_ROOT}/Modules)
|
||||||
install(FILES license.txt DESTINATION ${INSTALL_MISC_DIR})
|
install(FILES license.txt DESTINATION ${INSTALL_MISC_DIR})
|
||||||
if(WINDOWS)
|
if(WINDOWS)
|
||||||
install(FILES extlibs/bin/libsndfile-1.dll DESTINATION bin)
|
if(ARCH_32BITS)
|
||||||
install(FILES extlibs/bin/openal32.dll DESTINATION bin)
|
install(FILES extlibs/bin/x86/libsndfile-1.dll DESTINATION bin)
|
||||||
|
install(FILES extlibs/bin/x86/openal32.dll DESTINATION bin)
|
||||||
|
else()
|
||||||
|
install(FILES extlibs/bin/x64/libsndfile-1.dll DESTINATION bin)
|
||||||
|
install(FILES extlibs/bin/x64/openal32.dll DESTINATION bin)
|
||||||
|
endif()
|
||||||
elseif(MACOSX)
|
elseif(MACOSX)
|
||||||
install(DIRECTORY extlibs/libs-osx/Frameworks/sndfile.framework DESTINATION /Library/Frameworks PATTERN ".svn" EXCLUDE)
|
install(DIRECTORY extlibs/libs-osx/Frameworks/sndfile.framework DESTINATION /Library/Frameworks PATTERN ".svn" EXCLUDE)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user