Separate Package List for the PKG_CHECK_MODULES
This commit is contained in:
parent
0d565bda5f
commit
7041f32ce9
|
@ -12,7 +12,7 @@ VALA_PRECOMPILE (VALA_C ${BinSources}
|
|||
GENERATE_VAPI
|
||||
GENERATE_HEADER
|
||||
)
|
||||
PKG_CHECK_MODULES (PKGS REQUIRED ${BinPackages})
|
||||
PKG_CHECK_MODULES (PKGS REQUIRED ${BinPkgModules})
|
||||
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS})
|
||||
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})
|
||||
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")
|
||||
|
|
|
@ -10,7 +10,7 @@ VALA_PRECOMPILE (VALA_C ${PluginSources}
|
|||
GENERATE_VAPI
|
||||
GENERATE_HEADER
|
||||
)
|
||||
PKG_CHECK_MODULES (PKGS REQUIRED ${PluginPackages})
|
||||
PKG_CHECK_MODULES (PKGS REQUIRED ${PluginPkgModules})
|
||||
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS})
|
||||
ADD_LIBRARY (${PluginName} SHARED ${VALA_C} ${PluginExtraSources})
|
||||
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")
|
||||
|
|
Loading…
Reference in New Issue