File tree 2 files changed +5
-2
lines changed
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,9 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
22
22
set (PROJECTM_LINKAGE "shared" CACHE STRING "Set to either shared or static to specify how libprojectM should be linked. Defaults to shared." )
23
23
set (SDL2_LINKAGE "shared" CACHE STRING "Set to either shared or static to specify how libSDL2 should be linked. Defaults to shared." )
24
24
25
+ set (DEFAULT_PRESETS_PATH "\$ {application.dir}/presets" CACHE STRING "Default presets path in the configuration file." )
26
+ set (DEFAULT_TEXTURES_PATH "\$ {application.dir}/textures" CACHE STRING "Default textures path in the configuration file." )
27
+
25
28
if (NOT PROJECTM_LINKAGE STREQUAL "shared" AND NOT PROJECTM_LINKAGE STREQUAL "static" )
26
29
message (FATAL_ERROR "Invalid libprojectM linkage provided in PROJECTM_LINKAGE: \" ${PROJECTM_LINKAGE} \" .\n "
27
30
"Please specify either \" shared\" or \" static\" ."
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ window.waitForVerticalSync = true
32
32
### projectM settings
33
33
34
34
# Path where projectMSDL will search for presets and textures. The directory will be searched recursively.
35
- projectM.presetPath = @DEFAULT_PRESET_PATH @
35
+ projectM.presetPath = @DEFAULT_PRESETS_PATH @
36
36
37
37
# Optional path where projectMSDL will search for additional textures. The directory will be searched recursively.
38
38
# Note that textures found under "presetPath" will override textures in the texturePath dir.
39
- # projectM.texturePath =
39
+ projectM.texturePath = @DEFAULT_TEXTURES_PATH@
40
40
41
41
# If true, displays the built-in projectM logo preset on startup.
42
42
projectM.enableSplash = false
You can’t perform that action at this time.
0 commit comments