mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-09-11 10:45:39 +03:00
datadir is the relative path considering the prefix, FULL_DATADIR will be created out of DATADIR
This commit is contained in:
parent
2a5cb1bd67
commit
e17d08f339
@ -32,7 +32,7 @@ add_dependencies(gittyup translations)
|
||||
if(APPLE)
|
||||
set(CONTENTS_DIR ${GITTYUP_NAME}.app/Contents)
|
||||
elseif(UNIX)
|
||||
set(CONTENTS_DIR ${CMAKE_INSTALL_FULL_DATADIR}/gittyup)
|
||||
set(CONTENTS_DIR ${CMAKE_INSTALL_DATADIR}/gittyup)
|
||||
endif()
|
||||
|
||||
foreach(LANGUAGE ${LANGUAGES})
|
||||
|
@ -208,7 +208,7 @@ else()
|
||||
# Windows and UNIX must be ./ otherwise it is interpreted as absolute path
|
||||
if(UNIX)
|
||||
set(RESOURCES_INSTALL_DIR
|
||||
"${CMAKE_INSTALL_FULL_DATADIR}/gittyup/Resources"
|
||||
"${CMAKE_INSTALL_DATADIR}/gittyup/Resources"
|
||||
CACHE STRING "The path for installing resource files")
|
||||
else()
|
||||
set(RESOURCES_INSTALL_DIR
|
||||
|
Loading…
Reference in New Issue
Block a user