Set snapcraft.yaml version from cmake. (#101)
This commit is contained in:
parent
27f92fe8a3
commit
a00870aa9b
@ -52,6 +52,9 @@ ADD_DEFINITIONS(-DPROJECT_PREFIX="${PROJECT_PREFIX}")
|
||||
ADD_DEFINITIONS(-DPROJECT_VERSION="${PROJECT_VERSION}")
|
||||
ADD_DEFINITIONS(-DPROJECT_NAME="${PROJECT_NAME}")
|
||||
|
||||
CONFIGURE_FILE(snap/snapcraft.yaml.in ${PROJECT_SOURCE_DIR}/snap/snapcraft.yaml)
|
||||
message(STATUS "\"snap/snapcraft.yaml\" has been generated with version \"${PROJECT_VERSION}\". To create a snap, do \"snapcraft\" in find-object's root directory.")
|
||||
|
||||
####### DEPENDENCIES #######
|
||||
FIND_PACKAGE(OpenCV REQUIRED) # tested on 2.3.1
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
name: find-object
|
||||
base: core18
|
||||
version: '0.6.2+git'
|
||||
version: '@PROJECT_VERSION@+git'
|
||||
summary: Find-Object project, visit http://introlab.github.io/find-object/
|
||||
description: |
|
||||
Features:
|
||||
Loading…
x
Reference in New Issue
Block a user