summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-hier.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/opentrack-hier.cmake')
-rw-r--r--cmake/opentrack-hier.cmake16
1 files changed, 6 insertions, 10 deletions
diff --git a/cmake/opentrack-hier.cmake b/cmake/opentrack-hier.cmake
index 16694d1f..bb1a435d 100644
--- a/cmake/opentrack-hier.cmake
+++ b/cmake/opentrack-hier.cmake
@@ -14,8 +14,7 @@ if(APPLE)
set(opentrack-runtime-libexec "/Plugins/") # MUST HAVE A TRAILING BACKSLASH, Used in APP
set(opentrack-runtime-doc "/") # MUST HAVE A TRAILING BACKSLASH
set(opentrack-bin "${CMAKE_INSTALL_PREFIX}")
- set(opentrack-doc "./doc")
- set(opentrack-src "./source-code")
+ set(opentrack-doc "doc")
set(opentrack-i18n "opentrack.app/Contents/Resources") # used during install
set(opentrack-runtime-i18n "../Resources/i18n") # used in application
set(opentrack-install-rpath "${CMAKE_INSTALL_PREFIX}/Library")
@@ -24,24 +23,21 @@ elseif(WIN32)
set(opentrack-runtime-libexec "/${opentrack-libexec}/") # MUST HAVE A TRAILING BACKSLASH
set(opentrack-runtime-doc "/doc/") # MUST HAVE A TRAILING BACKSLASH
set(opentrack-bin ".")
- set(opentrack-doc "./doc")
- set(opentrack-src "./source-code")
- set(opentrack-i18n "./i18n")
+ set(opentrack-doc "doc")
+ set(opentrack-i18n "i18n")
set(opentrack-runtime-i18n "./i18n")
set(opentrack-debug "./debug")
set(opentrack-install-rpath "")
else()
set(opentrack-libexec "libexec/opentrack")
set(opentrack-runtime-libexec "/../${opentrack-libexec}/") # MUST HAVE A TRAILING BACKSLASH
- set(opentrack-runtime-doc "/share/doc/opentrack/") # MUST HAVE A TRAILING BACKSLASH
+ set(opentrack-runtime-doc "/../share/doc/opentrack/") # MUST HAVE A TRAILING BACKSLASH
set(opentrack-bin "bin")
- set(opentrack-doc "./share/doc/opentrack")
- set(opentrack-src "./share/doc/opentrack/source-code")
+ set(opentrack-doc "share/doc/opentrack")
set(opentrack-install-rpath "${CMAKE_INSTALL_PREFIX}/${opentrack-libexec}")
- set(opentrack-i18n "./share/opentrack/i18n")
+ set(opentrack-i18n "share/opentrack/i18n")
set(opentrack-runtime-i18n "../share/opentrack/i18n")
endif()
-set(opentrack-install-src RUNTIME DESTINATION ${opentrack-libexec} LIBRARY DESTINATION ${opentrack-libexec})
function(otr_escape_string var str)
string(REGEX REPLACE "([^_A-Za-z0-9./:-])" "\\\\\\1" str "${str}")