Separate Package List for the PKG_CHECK_MODULES

This commit is contained in:
Kolan Sh 2014-10-26 16:30:09 +03:00
parent 0d565bda5f
commit 7041f32ce9
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ VALA_PRECOMPILE (VALA_C ${BinSources}
GENERATE_VAPI GENERATE_VAPI
GENERATE_HEADER GENERATE_HEADER
) )
PKG_CHECK_MODULES (PKGS REQUIRED ${BinPackages}) PKG_CHECK_MODULES (PKGS REQUIRED ${BinPkgModules})
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS}) INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS})
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources}) ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}") ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")

View File

@ -10,7 +10,7 @@ VALA_PRECOMPILE (VALA_C ${PluginSources}
GENERATE_VAPI GENERATE_VAPI
GENERATE_HEADER GENERATE_HEADER
) )
PKG_CHECK_MODULES (PKGS REQUIRED ${PluginPackages}) PKG_CHECK_MODULES (PKGS REQUIRED ${PluginPkgModules})
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS}) INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS})
ADD_LIBRARY (${PluginName} SHARED ${VALA_C} ${PluginExtraSources}) ADD_LIBRARY (${PluginName} SHARED ${VALA_C} ${PluginExtraSources})
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}") ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")