Separate Package List for the PKG_CHECK_MODULES

master
Kolan Sh 8 years ago
parent a3bf0ee0e7
commit 25a02663e2
  1. 2
      ValaLibCommonRules.cmake

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

Loading…
Cancel
Save