f5c7ca101be6b6abe17c6c28e971c86617f6c782brycemessage(STATUS "Creating build files in: ${CMAKE_CURRENT_BINARY_DIR}")
7765ee8964c8ffd7faee9baa0412abeb1ef5b0a4Nick
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryceif(WIN32)
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce set(PACKAGE_LOCALE_DIR "locale")
8e4512841edf17d9e35762ebbd140a76c01c15c5houz set(SHARE_INSTALL "share" CACHE STRING "Data file install path. Must be a relative path (from CMAKE_INSTALL_PREFIX), with no trailing slash.")
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryceelse(WIN32)
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce # TODO: check and change this to correct value:
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce if(NOT PACKAGE_LOCALE_DIR)
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce set(PACKAGE_LOCALE_DIR "${CMAKE_INSTALL_PREFIX}/share/locale") # packagers might overwrite this
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce endif(NOT PACKAGE_LOCALE_DIR)
8e4512841edf17d9e35762ebbd140a76c01c15c5houz
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce if(NOT SHARE_INSTALL)
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce set(SHARE_INSTALL "share" CACHE STRING "Data file install path. Must be a relative path (from CMAKE_INSTALL_PREFIX), with no trailing slash.")
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce endif(NOT SHARE_INSTALL)
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryce mark_as_advanced(SHARE_INSTALL)
f5c7ca101be6b6abe17c6c28e971c86617f6c782bryceendif(WIN32)