From 92baab7daccd2b0c512e716d7bd089106c7fecdd Mon Sep 17 00:00:00 2001 From: derselbst Date: Tue, 23 Jan 2018 21:54:43 +0100 Subject: [PATCH] add CMAKE_INSTALL_PREFIX to DEFAULT_SOUNDFONT addresses #332 --- cmake_admin/DefaultDirs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_admin/DefaultDirs.cmake b/cmake_admin/DefaultDirs.cmake index 7c6c5880..a8a9545b 100644 --- a/cmake_admin/DefaultDirs.cmake +++ b/cmake_admin/DefaultDirs.cmake @@ -6,7 +6,7 @@ if ( WIN32 ) set (DEFAULT_SOUNDFONT "C:\\\\soundfonts\\\\default.sf2" CACHE STRING "Default soundfont file") else ( WIN32 ) - set (DEFAULT_SOUNDFONT "share/soundfonts/default.sf2" CACHE STRING + set (DEFAULT_SOUNDFONT "${CMAKE_INSTALL_PREFIX}/share/soundfonts/default.sf2" CACHE STRING "Default soundfont file") endif ( WIN32 ) mark_as_advanced (DEFAULT_SOUNDFONT)