Skip to content

Commit be648bc

Browse files
committed
fix CMakeLists on windows and linux
1 parent 3f04623 commit be648bc

File tree

4 files changed

+8
-1
lines changed

4 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 1.1.0+1
2+
3+
- Fix: download wrong binaries on `windows` and `linux`, other platforms are not affected.
4+
15
## 1.1.0
26

37
- Breaking Change: Asynchronous support, APIs ended with `Async` support asynchronous call.

linux/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ set(PROJECT_NAME "opencv_dart")
88

99
project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.0.0)
1010

11+
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/../binary.version" PROJECT_VERSION)
1112
set(CVD_LIB_URL_BASE "https://github.com/rainyl/opencv_dart/releases/download")
1213
# check whether the auto build is disabled
1314
set(OPENCV_DART_DISABLE_AUTO_BUILD $ENV{OPENCV_DART_DISABLE_AUTO_BUILD})

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: opencv_dart
22
description: "OpenCV4 bindings for Dart language and Flutter, using dart:ffi. The most complete OpenCV bindings for Dart! With asynchronous support now!"
3-
version: 1.1.0
3+
version: 1.1.0+1
44
homepage: https://github.com/rainyl/opencv_dart
55

66
environment:

windows/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ set(PROJECT_NAME "opencv_dart")
99

1010
project(${PROJECT_NAME} LANGUAGES CXX VERSION 1.0.0)
1111

12+
file(READ "${CMAKE_CURRENT_SOURCE_DIR}/../binary.version" PROJECT_VERSION)
13+
1214
set(CVD_LIB_URL_BASE "https://github.com/rainyl/opencv_dart/releases/download")
1315
# check whether the auto build is disabled
1416
set(OPENCV_DART_DISABLE_AUTO_BUILD $ENV{OPENCV_DART_DISABLE_AUTO_BUILD})

0 commit comments

Comments
 (0)