Skip to content

Commit

Permalink
Merge pull request #230 from KangLin/master
Browse files Browse the repository at this point in the history
FIX: issues #222
  • Loading branch information
ShiqiYu committed Mar 26, 2020
2 parents 77b54ba + daf35e0 commit 22d5e34
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,8 @@ IF(EXISTS "${CMAKE_SOURCE_DIR}/.git")
OUTPUT_VARIABLE GIT_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE
)
endif()
SET(BUILD_VERSION ${GIT_VERSION})
IF(NOT BUILD_VERSION)
SET(BUILD_VERSION "v0.0.1")
IF(NOT GIT_VERSION)
SET(BUILD_VERSION ${GIT_VERSION})
ENDIF()
ENDIF()
ENDIF()
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ It should be compiled at any platform which support C/C++.

Some tips:

* Please add facedetection_export.h file in the position of your copy facedetectcnn.h files,add #define FACEDETECTION_EXPORT to the facedetection_export.h file. See: [issues #222](https://github.com/ShiqiYu/libfacedetection/issues/222)
* Please add -O3 to turn on optimizations when you compile the source code using g++.
* Please choose 'Maximize Speed/-O2' when you compile the source code using Microsoft Visual Studio.
* You can enable OpenMP to speedup. But the best solution is to call the detection function in different threads.
Expand Down

0 comments on commit 22d5e34

Please sign in to comment.