Skip to content

Commit

Permalink
cmake: fix install path for documents
Browse files Browse the repository at this point in the history
  • Loading branch information
komainu8 committed Nov 1, 2023
1 parent 019f56e commit 55cf7ba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ cmake_minimum_required(VERSION 3.16)
set(GROONGA_NORMALIZER_MYSQL_PROJECT_NAME "groonga-normalizer-mysql")
project("${GROONGA_NORMALIZER_MYSQL_PROJECT_NAME}")

if(NOT DEFINED GROONGA_NORMALIZER_MYSQL_DATA_DIR)
set(GROONGA_NORMALIZER_MYSQL_DATA_DIR
"share/${GROONGA_NORMALIZER_MYSQL_PROJECT_NAME}")
if(NOT DEFINED GROONGA_NORMALIZER_MYSQL_DOC_DIR)
set(GROONGA_NORMALIZER_MYSQL_DOC_DIR
"share/doc/${GROONGA_NORMALIZER_MYSQL_PROJECT_NAME}")
endif()

if(DEFINED GROONGA_NORMALIZER_MYSQL_EMBED)
Expand Down Expand Up @@ -100,4 +100,4 @@ endif()
install(FILES
"README.md"
"doc/text/lgpl-2.0.txt"
DESTINATION "${GROONGA_NORMALIZER_MYSQL_DATA_DIR}")
DESTINATION "${GROONGA_NORMALIZER_MYSQL_DOC_DIR}")

0 comments on commit 55cf7ba

Please sign in to comment.