Check BinPkgModules for empty value.

master
Kolan Sh 5 years ago
parent 7797a9d1cc
commit 5aec8e830a
  1. 4
      ValaBinCommonRules.cmake

@ -12,8 +12,8 @@ VALA_PRECOMPILE (VALA_C ${BinSources}
GENERATE_VAPI
GENERATE_HEADER
)
IF (NOT "${LibPkgModules}" STREQUAL "")
PKG_CHECK_MODULES (PKGS REQUIRED ${LibPkgModules})
IF (NOT "${BinPkgModules}" STREQUAL "")
PKG_CHECK_MODULES (PKGS REQUIRED ${BinPkgModules})
ENDIF ()
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/po)
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})

Loading…
Cancel
Save