ValaBinCommonRules fixed: BinInstall added.

This commit is contained in:
Kolan Sh 2015-09-29 19:27:22 +03:00
parent 029b15da25
commit bcf06bedc5
1 changed files with 4 additions and 0 deletions

View File

@ -17,3 +17,7 @@ INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS})
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")
TARGET_LINK_LIBRARIES (${BinName} ${PKGS_LIBRARIES} ${BinLinkLibs})
IF (BinInstall)
INSTALL (TARGETS ${BinName} DESTINATION bin)
ENDIF (BinInstall)