diff --git a/cmake/Options.cmake b/cmake/Options.cmake index fef4014a28..bfacb0205e 100644 --- a/cmake/Options.cmake +++ b/cmake/Options.cmake @@ -9,6 +9,10 @@ function(set_directory_options) set(DEFAULT_PERSONAL_DIR "Documents/OpenTTD") set(DEFAULT_SHARED_DIR "/Library/Application Support/OpenTTD") set(DEFAULT_GLOBAL_DIR "(not set)") + elseif(MINGW) + set(DEFAULT_PERSONAL_DIR "OpenTTD") + set(DEFAULT_SHARED_DIR "(not set)") + set(DEFAULT_GLOBAL_DIR "${CMAKE_INSTALL_FULL_DATADIR}/${BINARY_NAME}") elseif(WIN32) set(DEFAULT_PERSONAL_DIR "OpenTTD") set(DEFAULT_SHARED_DIR "(not set)")