Separate Package List for the PKG_CHECK_MODULES

This commit is contained in:
Kolan Sh 2014-10-26 16:08:20 +03:00
parent a3bf0ee0e7
commit 25a02663e2
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ VALA_PRECOMPILE (VALA_C ${LibSources}
GENERATE_VAPI GENERATE_VAPI
GENERATE_HEADER ${LibName}-${MAJOR} GENERATE_HEADER ${LibName}-${MAJOR}
) )
PKG_CHECK_MODULES (PKGS REQUIRED ${LibPackages}) PKG_CHECK_MODULES (PKGS REQUIRED ${LibPkgModules})
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS}) INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS})
ADD_LIBRARY (${LibName} SHARED ${VALA_C} ${LibExtraSources}) ADD_LIBRARY (${LibName} SHARED ${VALA_C} ${LibExtraSources})
TARGET_LINK_LIBRARIES (${LibName} ${PKGS_LIBRARIES} ${LibLinkLibs}) TARGET_LINK_LIBRARIES (${LibName} ${PKGS_LIBRARIES} ${LibLinkLibs})