Commit bde98bafaa9ac193b36607b8b9308cb9d7d1ce69
1 parent
ccb58450
bumped version number, added models as external project, removed models as submodule
Showing
4 changed files
with
12 additions
and
6 deletions
.gitignore
.gitmodules
CMakeLists.txt
| ... | ... | @@ -10,10 +10,10 @@ set(CPACK_PACKAGE_VENDOR "OpenBiometrics") |
| 10 | 10 | set(CPACK_PACKAGE_DESCRIPTION "Open Source Biometric Recognition") |
| 11 | 11 | set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CPACK_PACKAGE_NAME}) |
| 12 | 12 | if(NOT DEFINED CPACK_PACKAGE_VERSION_MAJOR) |
| 13 | - set(CPACK_PACKAGE_VERSION_MAJOR 0) | |
| 13 | + set(CPACK_PACKAGE_VERSION_MAJOR 1) | |
| 14 | 14 | endif() |
| 15 | 15 | if(NOT DEFINED CPACK_PACKAGE_VERSION_MINOR) |
| 16 | - set(CPACK_PACKAGE_VERSION_MINOR 6) | |
| 16 | + set(CPACK_PACKAGE_VERSION_MINOR 0) | |
| 17 | 17 | endif() |
| 18 | 18 | if(NOT DEFINED CPACK_PACKAGE_VERSION_PATCH) |
| 19 | 19 | set(CPACK_PACKAGE_VERSION_PATCH 0) |
| ... | ... | @@ -156,6 +156,15 @@ else() |
| 156 | 156 | mark_as_advanced(BR_THIRDPARTY_DIR) |
| 157 | 157 | endif() |
| 158 | 158 | |
| 159 | +# Download the models | |
| 160 | +ExternalProject_Add(models | |
| 161 | + URL http://github.com/biometrics/openbr/releases/download/v1.0.0/models.tar.gz | |
| 162 | + URL_MD5 0a7c79226d6629954aa32c835a1007b9 | |
| 163 | + SOURCE_DIR "${PROJECT_SOURCE_DIR}/share/openbr/models" | |
| 164 | + CONFIGURE_COMMAND "" | |
| 165 | + BUILD_COMMAND "" | |
| 166 | + INSTALL_COMMAND "") | |
| 167 | + | |
| 159 | 168 | # Build the SDK |
| 160 | 169 | include_directories(BEFORE .) # Find the local headers first |
| 161 | 170 | add_subdirectory(openbr) | ... | ... |
share/openbr/models deleted
| 1 | -Subproject commit be38bd854f7a563818f153a15972f8495de7e80b |