It's 'Program files (x86)' on 64-bit windows

This commit is contained in:
Yevgen Muntyan 2010-01-24 20:54:10 -08:00
parent b48986c7f1
commit c7e503627d

View File

@ -31,6 +31,8 @@ ADD_CUSTOM_TARGET(uninstall "${CMAKE_COMMAND}" -P "${CMAKE_BINARY_DIR}/cmake_uni
IF(WIN32)
IF("${CMAKE_INSTALL_PREFIX}" STREQUAL "C:/Program Files/MOO")
SET(CMAKE_INSTALL_PREFIX "C:/Program Files/medit")
ELSEIF("${CMAKE_INSTALL_PREFIX}" STREQUAL "C:/Program Files (x86)/MOO")
SET(CMAKE_INSTALL_PREFIX "C:/Program Files (x86)/medit")
ENDIF("${CMAKE_INSTALL_PREFIX}" STREQUAL "C:/Program Files/MOO")
ENDIF(WIN32)