Skip to content
Permalink
Browse files

Fix install dir for translation files #204

  • Loading branch information...
DamirPorobic committed Sep 8, 2019
1 parent a872a5c commit 4d42cadf2d6d732490f1bb19f0aa2b398808124f
Showing with 2 additions and 2 deletions.
  1. +1 −1 CMakeLists.txt
  2. +1 −1 src/CMakeLists.txt
@@ -14,7 +14,7 @@ if (WIN32)
elseif (APPLE)
set(KSNIP_LANG_INSTAL_DIR "../Resources")
elseif (UNIX)
set(KSNIP_LANG_INSTAL_DIR "${CMAKE_INSTALL_DATAROOTDIR}/ksnip/translations")
set(KSNIP_LANG_INSTAL_DIR "${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_DATAROOTDIR}/ksnip/translations")
endif ()

configure_file(src/BuildConfig.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/BuildConfig.h)
@@ -129,7 +129,7 @@ endif ()

if (UNIX AND NOT APPLE)
install(TARGETS ksnip RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

# uninstall target
if(NOT TARGET uninstall)
configure_file(

0 comments on commit 4d42cad

Please sign in to comment.
You can’t perform that action at this time.