Define LINPHONE_CONFIG_DIR when building with CMake on Windows.

This commit is contained in:
Ghislain MARY 2015-02-27 17:31:49 +01:00
parent 0d75cb32a3
commit 9d39b9bf66
2 changed files with 4 additions and 0 deletions

View file

@ -166,6 +166,9 @@ else()
set(LINPHONE_DATA_DIR "${CMAKE_INSTALL_PREFIX}")
endif()
set(LINPHONE_PLUGINS_DIR "${LINPHONE_DATA_DIR}/lib/liblinphone/plugins")
if(WIN32)
set(LINPHONE_CONFIG_DIR "Linphone")
endif()
set(PACKAGE_LOCALE_DIR "${LINPHONE_DATA_DIR}/share/locale")
set(PACKAGE_DATA_DIR "${LINPHONE_DATA_DIR}/share")
set(PACKAGE_SOUND_DIR "${LINPHONE_DATA_DIR}/share/sounds/linphone")

View file

@ -29,6 +29,7 @@
#define LINPHONE_ALL_LANGS "${LINPHONE_ALL_LANGS}"
#define LINPHONE_PLUGINS_DIR "${LINPHONE_PLUGINS_DIR}"
#define LINPHONE_CONFIG_DIR "${LINPHONE_CONFIG_DIR}"
#define GETTEXT_PACKAGE "${GETTEXT_PACKAGE}"