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_VAPI
|
||||||
GENERATE_HEADER
|
GENERATE_HEADER
|
||||||
)
|
)
|
||||||
IF (NOT "${LibPkgModules}" STREQUAL "")
|
IF (NOT "${BinPkgModules}" STREQUAL "")
|
||||||
PKG_CHECK_MODULES (PKGS REQUIRED ${LibPkgModules})
|
PKG_CHECK_MODULES (PKGS REQUIRED ${BinPkgModules})
|
||||||
ENDIF ()
|
ENDIF ()
|
||||||
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/po)
|
INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS} ${CMAKE_BINARY_DIR}/po)
|
||||||
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})
|
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})
|
||||||
|
|
Loading…
Reference in New Issue