Separate Package List for the PKG_CHECK_MODULES
This commit is contained in:
parent
a3bf0ee0e7
commit
25a02663e2
|
@ -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})
|
||||||
|
|
Loading…
Reference in New Issue