From dd99fa49655e20809baed17bc2da977b19c3b12c Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Tue, 25 Jun 2019 19:07:55 +0200 Subject: cmake: fix install prefix harder --- cmake/opentrack-hier.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cmake/opentrack-hier.cmake') diff --git a/cmake/opentrack-hier.cmake b/cmake/opentrack-hier.cmake index a5e4fd77..7dcdb52d 100644 --- a/cmake/opentrack-hier.cmake +++ b/cmake/opentrack-hier.cmake @@ -20,8 +20,8 @@ if(APPLE) set(opentrack-i18n-pfx "./i18n") set(opentrack-i18n-path "./i18n") elseif(WIN32) - set(opentrack-hier-pfx "./modules") - set(opentrack-hier-path "/modules/") # MUST HAVE A TRAILING BACKSLASH + set(opentrack-hier-pfx "modules") + set(opentrack-hier-path "/${opentrack-hier-pfx}/") # MUST HAVE A TRAILING BACKSLASH set(opentrack-hier-doc "/doc/") # MUST HAVE A TRAILING BACKSLASH set(opentrack-hier-bin ".") set(opentrack-doc-pfx "./doc") @@ -31,9 +31,9 @@ elseif(WIN32) set(opentrack-hier-debug "./debug") else() set(opentrack-hier-pfx "libexec/opentrack") - set(opentrack-hier-path "/../libexec/opentrack/") # MUST HAVE A TRAILING BACKSLASH - set(opentrack-hier-doc "/share/doc/opentrack/") # MUST HAVE A TRAILING BACKSLASH - set(opentrack-hier-bin "/bin") + set(opentrack-hier-path "/../${opentrack-hier-pfx}/") # MUST HAVE A TRAILING BACKSLASH + set(opentrack-hier-doc "/share/doc/opentrack/") # MUST HAVE A TRAILING BACKSLASH + set(opentrack-hier-bin "bin") set(opentrack-doc-pfx "./share/doc/opentrack") set(opentrack-doc-src-pfx "./share/doc/opentrack/source-code") set(opentrack-install-rpath "${CMAKE_INSTALL_PREFIX}/${opentrack-hier-pfx}") -- cgit v1.2.3