Check BinPkgModules for empty value.
This commit is contained in:
parent
7797a9d1cc
commit
5aec8e830a
|
@ -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…
Reference in New Issue