Put ocsync to a private library - WIP

This commit is contained in:
Klaas Freitag 2014-03-11 10:18:00 +01:00
Родитель c8a8eb35fa
Коммит aa4e90acfc
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -33,6 +33,10 @@ if (UNIX)
"${EXEC_INSTALL_PREFIX}/libexec"
CACHE PATH "The subdirectory relative to the install prefix where libraries will be installed (default is prefix/libexec)"
)
SET(LIB_PRIVATE_INSTALL_DIR
"${LIB_INSTALL_DIR}/${APPLICATION_SHORT_NAME}"
CACHE PATH "The subdirectory relative to the install prefix where private libs are installed"
)
SET(PLUGIN_INSTALL_DIR
"${LIB_INSTALL_DIR}/${APPLICATION_SHORT_NAME}"
CACHE PATH "The subdirectory relative to the install prefix where plugins will be installed (default is prefix/lib/${APPLICATION_SHORT_NAME})"

Просмотреть файл

@ -116,9 +116,9 @@ INSTALL(
TARGETS
${CSYNC_LIBRARY}
LIBRARY DESTINATION
${LIB_INSTALL_DIR}
${PLUGIN_INSTALL_DIR}
ARCHIVE DESTINATION
${LIB_INSTALL_DIR}
${PLUGIN_INSTALL_DIR}
RUNTIME DESTINATION
${BIN_INSTALL_DIR}
)