You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Requires a few hacks regarding the installer, to prevent the "Install Rosetta" dialog from being shown and also make the package non-relocatable, which wreaks havoc when installing on development machines,like overwriting the bundle in the build dir.
option(ENABLE_FLAT_PACKAGE "Creates a \"flat\" install layout with the executable, configuration file(s) and preset/texture dirs directly in the install prefix."OFF)
17
17
option(ENABLE_INSTALL_BDEPS "Installs all shared libraries projectMSDL requires to run. On some platforms, CMake 3.31 or higher is required for this to work!"OFF)
@@ -24,7 +27,6 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux" AND NOT ENABLE_FLAT_PACKAGE)
24
27
set(PROJECTMSDL_PRESETS_DIR "${PROJECTMSDL_DATA_DIR}/presets"CACHESTRING"Directory to install optional preset files, relative to the install prefix.")
25
28
set(PROJECTMSDL_TEXTURES_DIR "${PROJECTMSDL_DATA_DIR}/textures"CACHESTRING"Directory to install optional texture files, relative to the install prefix.")
26
29
27
-
28
30
# Additional options for desktop integration
29
31
option(ENABLE_DESKTOP_ICON "Install a .desktop file and icons"ON)
30
32
set(PROJECTMSDL_DESKTOP_DIR "${CMAKE_INSTALL_DATAROOTDIR}/applications"CACHESTRING"Directory to install the .desktop file in, relative to the install prefix.")
@@ -47,7 +49,11 @@ elseif(CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT ENABLE_FLAT_PACKAGE)
47
49
48
50
set(DEFAULT_CONFIG_PATH "\${application.dir}/../Resources"CACHESTRING"Optional path to look for the configuration file in addition to PROJECTMSDL_BIN_DIR.")
49
51
set(DEFAULT_PRESETS_PATH "\${application.dir}/../Resources/Presets"CACHESTRING"Default presets path in the configuration file.")
50
-
set(DEFAULT_TEXTURES_PATH "\${application.dir}/../Resources/Presets"CACHESTRING"Default textures path in the configuration file.")
52
+
set(DEFAULT_TEXTURES_PATH "\${application.dir}/../Resources/Textures"CACHESTRING"Default textures path in the configuration file.")
0 commit comments