Fixed the INSTALL_MISC_DIR CMake variable not defined on iOS

This commit is contained in:
Laurent Gomila 2013-12-02 20:47:55 +01:00 committed by Jonathan De Wachter
parent 1c9a8310ff
commit d40399e431

View File

@ -108,7 +108,7 @@ else()
endif()
# define the install directory for miscellaneous files
if(SFML_OS_WINDOWS)
if(SFML_OS_WINDOWS OR SFML_OS_IOS)
set(INSTALL_MISC_DIR .)
elseif(SFML_OS_LINUX OR SFML_OS_FREEBSD OR SFML_OS_MACOSX)
set(INSTALL_MISC_DIR share/SFML)