Skip to content

Commit

Permalink
cmake: use GRN_RELATIVE_PLUGINS_DIR for install directory
Browse files Browse the repository at this point in the history
Because it should be relative path not absolute path.
  • Loading branch information
kou committed Jun 26, 2013
1 parent cbabb9f commit 13b18f0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion plugins/query_expanders/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../lib
)

set(QUERY_EXPANDERS_DIR "${GRN_PLUGINS_DIR}/query_expanders")
set(QUERY_EXPANDERS_DIR "${GRN_RELATIVE_PLUGINS_DIR}/query_expanders")
read_file_list(${CMAKE_CURRENT_SOURCE_DIR}/tsv_sources.am TSV_SOURCES)
set_source_files_properties(${TSV_SOURCES}
PROPERTIES
Expand Down
2 changes: 1 addition & 1 deletion plugins/suggest/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ set_source_files_properties(${SUGGEST_SOURCES}
COMPILE_FLAGS "${GRN_C_COMPILE_FLAGS}")
set_target_properties(suggest PROPERTIES PREFIX "")
target_link_libraries(suggest libgroonga)
install(TARGETS suggest DESTINATION "${GRN_PLUGINS_DIR}/suggest")
install(TARGETS suggest DESTINATION "${GRN_RELATIVE_PLUGINS_DIR}/suggest")
2 changes: 1 addition & 1 deletion plugins/table/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ set_source_files_properties(${TABLE_SOURCES}
COMPILE_FLAGS "${GRN_C_COMPILE_FLAGS}")
set_target_properties(table PROPERTIES PREFIX "")
target_link_libraries(table libgroonga)
install(TARGETS table DESTINATION "${GRN_PLUGINS_DIR}/table")
install(TARGETS table DESTINATION "${GRN_RELATIVE_PLUGINS_DIR}/table")
2 changes: 1 addition & 1 deletion plugins/tokenizers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../../lib
)

set(TOKENIZERS_DIR "${GRN_PLUGINS_DIR}/tokenizers")
set(TOKENIZERS_DIR "${GRN_RELATIVE_PLUGINS_DIR}/tokenizers")
if(GRN_WITH_MECAB)
read_file_list(${CMAKE_CURRENT_SOURCE_DIR}/mecab_sources.am MECAB_SOURCES)
include_directories(${MECAB_INCLUDE_DIRS})
Expand Down

0 comments on commit 13b18f0

Please sign in to comment.