ValaBinCommonRules fixed: BinInstall added.
This commit is contained in:
parent
029b15da25
commit
bcf06bedc5
|
@ -17,3 +17,7 @@ INCLUDE_DIRECTORIES (${PKGS_INCLUDE_DIRS})
|
||||||
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})
|
ADD_EXECUTABLE (${BinName} ${VALA_C} ${BinExtraSources})
|
||||||
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")
|
ADD_DEFINITIONS (-DGETTEXT_PACKAGE="${PROJECT_LOWERCASE_NAME}-${MAJOR}")
|
||||||
TARGET_LINK_LIBRARIES (${BinName} ${PKGS_LIBRARIES} ${BinLinkLibs})
|
TARGET_LINK_LIBRARIES (${BinName} ${PKGS_LIBRARIES} ${BinLinkLibs})
|
||||||
|
|
||||||
|
IF (BinInstall)
|
||||||
|
INSTALL (TARGETS ${BinName} DESTINATION bin)
|
||||||
|
ENDIF (BinInstall)
|
||||||
|
|
Loading…
Reference in New Issue