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 license.txt DESTINATION ${INSTALL_MISC_DIR})
|
||||
if(WINDOWS)
|
||||
install(FILES extlibs/bin/libsndfile-1.dll DESTINATION bin)
|
||||
install(FILES extlibs/bin/openal32.dll DESTINATION bin)
|
||||
if(ARCH_32BITS)
|
||||
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)
|
||||
install(DIRECTORY extlibs/libs-osx/Frameworks/sndfile.framework DESTINATION /Library/Frameworks PATTERN ".svn" EXCLUDE)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user